24 utility traces the system calls called by the specified process or program.
25 Output is to the specified output file, or standard error by default.
26 It does this by stopping and restarting the process being monitored via
29 The options are as follows:
30 .Bl -tag -width indent
32 Trace descendants of the original traced process created by
37 Show the argument strings that are passed in each
41 Show the environment strings that are passed in each
45 Include timestamps in the output showing the time elapsed
46 since the trace was started.
48 Include timestamps in the output showing the time elapsed
49 since the last recorded event.
51 Do not display information about signals received by the process.
54 displays signal as well as system call events.)
56 Print the output to the specified
58 instead of standard error.
60 Display strings using at most
63 If the buffer is larger,
65 will be displayed at the end of the string.
70 Follow the process specified by
72 instead of a new command.
73 .It Ar command Op args
76 and trace the system calls of it.
81 options are mutually exclusive.)
86 utility can be used to clear tracepoints in a stuck process
89 terminates abnormally.
91 # Follow the system calls used in echoing "hello"
92 .Dl $ truss /bin/echo hello
93 # Do the same, but put the output into a file
94 .Dl $ truss -o /tmp/truss.out /bin/echo hello
95 # Follow an already-running process
105 command was written by
110 similar commands available for System V Release 4 and SunOS.