1 .\" $FreeBSD: src/usr.bin/truss/truss.1,v 1.5.2.6 2002/06/21 15:29:40 charnier Exp $
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 Do not display information about signals received by the process.
33 displays signal as well as system call events.)
35 Print the output to the specified
37 instead of standard error.
39 Follow the process specified by
41 instead of a new command.
42 .It Ar command Op args
45 and trace the system calls of it.
50 options are mutually exclusive.)
53 # Follow the system calls used in echoing "hello"
54 .Dl $ truss /bin/echo hello
55 # Do the same, but put the output into a file
56 .Dl $ truss -o /tmp/truss.out /bin/echo hello
57 # Follow an already-running process
66 command was written by
71 similar commands available for System V Release 4 and SunOS.