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