21 traces the system calls called by the specified process or program.
22 Output is to the specified output file, or standard error by default.
23 It does this by stopping and restarting the process being monitored via
26 The options are as follows:
27 .Bl -tag -width indent
29 Do not display information about signals received by the process.
32 displays signal as well as system call events.)
34 Print the output to the specified
36 instead of standard error.
38 Follow the process specified by
40 instead of a new command.
41 .It Ar command Op args
44 and trace the system calls of it.
49 options are mutually exclusive.)
51 # Follow the system calls used in echoing "hello"
52 .Dl $ truss /bin/echo hello
53 # Do the same, but put the output into a file
54 .Dl $ truss -o /tmp/truss.out /bin/echo hello
55 # Follow an already-running process
64 command was written by
69 similar commands available for System V Release 4 and SunOS.