1.\" $FreeBSD: head/usr.bin/truss/truss.1 101285 2002-08-04 01:27:31Z mdodd $
| 1.\" $FreeBSD: head/usr.bin/truss/truss.1 101289 2002-08-04 02:24:21Z mdodd $
|
2.\" 3.Dd November 23, 1997 4.Dt TRUSS 1 5.Os 6.Sh NAME 7.Nm truss 8.Nd trace system calls 9.Sh SYNOPSIS 10.Nm
| 2.\" 3.Dd November 23, 1997 4.Dt TRUSS 1 5.Os 6.Sh NAME 7.Nm truss 8.Nd trace system calls 9.Sh SYNOPSIS 10.Nm
|
11.Op Fl fdDS
| 11.Op Fl faedDS
|
12.Op Fl o Ar file 13.Fl p Ar pid 14.Nm
| 12.Op Fl o Ar file 13.Fl p Ar pid 14.Nm
|
15.Op Fl fdDS
| 15.Op Fl faedDS
|
16.Op Fl o Ar file 17command 18.Op args 19.Sh DESCRIPTION 20The 21.Nm 22utility traces the system calls called by the specified process or program. 23Output is to the specified output file, or standard error by default. 24It does this by stopping and restarting the process being monitored via 25.Xr procfs 5 . 26.Pp 27The options are as follows: 28.Bl -tag -width indent 29.It Fl f 30Trace decendants of the original traced process created by fork(), 31vfork, etc.
| 16.Op Fl o Ar file 17command 18.Op args 19.Sh DESCRIPTION 20The 21.Nm 22utility traces the system calls called by the specified process or program. 23Output is to the specified output file, or standard error by default. 24It does this by stopping and restarting the process being monitored via 25.Xr procfs 5 . 26.Pp 27The options are as follows: 28.Bl -tag -width indent 29.It Fl f 30Trace decendants of the original traced process created by fork(), 31vfork, etc.
|
| 32.It Fl a 33Show the argument strings that are passed in each execve() system call. 34.It Fl e 35Show the environment strings that are passed in each execve() system call.
|
32.It Fl d 33Include timestamps in the output showing the time elapsed 34since the trace was started. 35.It Fl D 36Include timestamps in the output showing the time elapsed 37since the last recorded event. 38.It Fl S 39Do not display information about signals received by the process.
--- 41 unchanged lines hidden --- | 36.It Fl d 37Include timestamps in the output showing the time elapsed 38since the trace was started. 39.It Fl D 40Include timestamps in the output showing the time elapsed 41since the last recorded event. 42.It Fl S 43Do not display information about signals received by the process.
--- 41 unchanged lines hidden --- |