summaryrefslogtreecommitdiffstats
path: root/usr.bin/truss/truss.1
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2002-08-04 02:24:21 +0000
committermdodd <mdodd@FreeBSD.org>2002-08-04 02:24:21 +0000
commitc3ab10b17915ac6015c29576e0e4ecdf3d0d4f2b (patch)
treeb89cede034e8feee79adf2c013453474e0153c62 /usr.bin/truss/truss.1
parentb4aa304f721d9d64f5cb0a5b89efeccd3125d70f (diff)
downloadFreeBSD-src-c3ab10b17915ac6015c29576e0e4ecdf3d0d4f2b.zip
FreeBSD-src-c3ab10b17915ac6015c29576e0e4ecdf3d0d4f2b.tar.gz
Add options to print the argument and environment string parameters to
execve(). This could be done in a more general manner but it still wouldn't be very pretty. MFC after: 3 weeks
Diffstat (limited to 'usr.bin/truss/truss.1')
-rw-r--r--usr.bin/truss/truss.18
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.bin/truss/truss.1 b/usr.bin/truss/truss.1
index d4cbb6a..d45099a 100644
--- a/usr.bin/truss/truss.1
+++ b/usr.bin/truss/truss.1
@@ -8,11 +8,11 @@
.Nd trace system calls
.Sh SYNOPSIS
.Nm
-.Op Fl fdDS
+.Op Fl faedDS
.Op Fl o Ar file
.Fl p Ar pid
.Nm
-.Op Fl fdDS
+.Op Fl faedDS
.Op Fl o Ar file
command
.Op args
@@ -29,6 +29,10 @@ The options are as follows:
.It Fl f
Trace decendants of the original traced process created by fork(),
vfork, etc.
+.It Fl a
+Show the argument strings that are passed in each execve() system call.
+.It Fl e
+Show the environment strings that are passed in each execve() system call.
.It Fl d
Include timestamps in the output showing the time elapsed
since the trace was started.
OpenPOWER on IntegriCloud