22 utility traces the system calls called by the specified process or program.
23 Output is to the specified output file, or standard error by default.
24 It does this by stopping and restarting the process being monitored via
27 The options are as follows:
28 .Bl -tag -width indent
30 Trace decendants of the original traced process created by
35 Show the argument strings that are passed in each
39 Show the environment strings that are passed in each
43 Include timestamps in the output showing the time elapsed
44 since the trace was started.
46 Include timestamps in the output showing the time elapsed
47 since the last recorded event.
49 Do not display information about signals received by the process.
52 displays signal as well as system call events.)
54 Print the output to the specified
56 instead of standard error.
58 Follow the process specified by
60 instead of a new command.
61 .It Ar command Op args
64 and trace the system calls of it.
69 options are mutually exclusive.)
74 utility can be used to clear tracepoints in a stuck process
77 terminates abnormally.
79 # Follow the system calls used in echoing "hello"
80 .Dl $ truss /bin/echo hello
81 # Do the same, but put the output into a file
82 .Dl $ truss -o /tmp/truss.out /bin/echo hello
83 # Follow an already-running process
93 command was written by
98 similar commands available for System V Release 4 and SunOS.