diff options
author | Peter Wemm <peter@FreeBSD.org> | 2003-12-08 22:47:59 +0000 |
---|---|---|
committer | Peter Wemm <peter@FreeBSD.org> | 2003-12-08 22:47:59 +0000 |
commit | 24b648094ddb909d24122833c3a1655e61493594 (patch) | |
tree | 581c932ee13ada22b0aa1cf4932717f11210d72d /usr.bin/kdump | |
parent | 9d8179ea3bac03ad31ad726790279dce441fedfa (diff) | |
download | src-24b648094ddb909d24122833c3a1655e61493594.tar.gz src-24b648094ddb909d24122833c3a1655e61493594.zip |
Notes
Diffstat (limited to 'usr.bin/kdump')
-rw-r--r-- | usr.bin/kdump/kdump.1 | 10 | ||||
-rw-r--r-- | usr.bin/kdump/kdump.c | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/usr.bin/kdump/kdump.1 b/usr.bin/kdump/kdump.1 index f51fbdd2ea1b..8ad6f436cdca 100644 --- a/usr.bin/kdump/kdump.1 +++ b/usr.bin/kdump/kdump.1 @@ -40,8 +40,8 @@ .Nd display kernel trace data .Sh SYNOPSIS .Nm -.Op Fl dnlERT -.Op Fl f Ar file +.Op Fl dEnlRT +.Op Fl f Ar trfile .Op Fl m Ar maxdata .Op Fl p Ar pid .Op Fl t Op cnisuw @@ -59,7 +59,9 @@ The options are as follows: .Bl -tag -width Fl .It Fl d Display all numbers in decimal. -.It Fl f Ar file +.It Fl E +Display elapsed timestamps (time since beginning of trace). +.It Fl f Ar trfile Display the specified file instead of .Pa ktrace.out . .It Fl l @@ -89,8 +91,6 @@ Display only trace events that correspond to the process .Ar pid . This may be useful when there are multiple processes recorded in the same trace file. -.It Fl E -Display elapsed timestamps (time since beginning of trace). .It Fl R Display relative timestamps (time since previous entry). .It Fl T diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c index 397f97cd7da5..407c37335c2e 100644 --- a/usr.bin/kdump/kdump.c +++ b/usr.bin/kdump/kdump.c @@ -97,7 +97,7 @@ main(int argc, char *argv[]) (void) setlocale(LC_CTYPE, ""); - while ((ch = getopt(argc,argv,"f:dlm:np:ERTt:")) != -1) + while ((ch = getopt(argc,argv,"f:dElm:np:RTt:")) != -1) switch((char)ch) { case 'f': tracefile = optarg; @@ -574,6 +574,6 @@ void usage(void) { (void)fprintf(stderr, - "usage: kdump [-dnlRT] [-f trfile] [-m maxdata] [-t [cnisuw]]\n"); + "usage: kdump [-dEnlRT] [-f trfile] [-m maxdata] [-p pid] [-t [cnisuw]]\n"); exit(1); } |