1 .\" $FreeBSD: src/usr.bin/truss/truss.1,v 1.5.2.6 2002/06/21 15:29:40 charnier Exp $
2 .\" $DragonFly: src/usr.bin/truss/truss.1,v 1.2 2003/06/17 04:29:33 dillon Exp $
23 utility traces the system calls called by the specified process or program.
24 Output is to the specified output file, or standard error by default.
25 It does this by stopping and restarting the process being monitored via
28 The options are as follows:
29 .Bl -tag -width indent
31 Do not display information about signals received by the process.
34 displays signal as well as system call events.)
36 Print the output to the specified
38 instead of standard error.
40 Follow the process specified by
42 instead of a new command.
43 .It Ar command Op args
46 and trace the system calls of it.
51 options are mutually exclusive.)
54 # Follow the system calls used in echoing "hello"
55 .Dl $ truss /bin/echo hello
56 # Do the same, but put the output into a file
57 .Dl $ truss -o /tmp/truss.out /bin/echo hello
58 # Follow an already-running process
67 command was written by
72 similar commands available for System V Release 4 and SunOS.