diff options
author | Diomidis Spinellis <dds@FreeBSD.org> | 2009-05-12 20:42:12 +0000 |
---|---|---|
committer | Diomidis Spinellis <dds@FreeBSD.org> | 2009-05-12 20:42:12 +0000 |
commit | ee3b0f6e2e053c63a22950421e05ff93ebc3cd73 (patch) | |
tree | 2ea5e736f24721832545f1c7f970fcd55dd11387 /usr.bin/truss/truss.1 | |
parent | 6282e61346e9139947b68673f692fc7f33b7ef9e (diff) | |
download | src-ee3b0f6e2e053c63a22950421e05ff93ebc3cd73.tar.gz src-ee3b0f6e2e053c63a22950421e05ff93ebc3cd73.zip |
Add -c option to summarize number of calls, errors, and system time.
Reviewed by: alfred
Notes
Notes:
svn path=/head/; revision=192025
Diffstat (limited to 'usr.bin/truss/truss.1')
-rw-r--r-- | usr.bin/truss/truss.1 | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/usr.bin/truss/truss.1 b/usr.bin/truss/truss.1 index 28e474e042ea..6a01451a4983 100644 --- a/usr.bin/truss/truss.1 +++ b/usr.bin/truss/truss.1 @@ -1,6 +1,6 @@ .\" $FreeBSD$ .\" -.Dd January 22, 2009 +.Dd May 12, 2009 .Dt TRUSS 1 .Os .Sh NAME @@ -8,12 +8,12 @@ .Nd trace system calls .Sh SYNOPSIS .Nm -.Op Fl faedDS +.Op Fl facedDS .Op Fl o Ar file .Op Fl s Ar strsize .Fl p Ar pid .Nm -.Op Fl faedDS +.Op Fl facedDS .Op Fl o Ar file .Op Fl s Ar strsize .Ar command Op Ar args @@ -36,6 +36,12 @@ etc. Show the argument strings that are passed in each .Xr execve 2 system call. +.It Fl c +Do not display individual system calls. +Instead, before exiting, print a summary containing for each system call: +the total system time used, +the number of times the call was invoked, +and the number of times the call returned with an error. .It Fl e Show the environment strings that are passed in each .Xr execve 2 |