diff options
author | mav <mav@FreeBSD.org> | 2015-09-21 09:37:49 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2015-09-21 09:37:49 +0000 |
commit | b41e8cfe2a32c3e55776db8e6fc5748eff243b6e (patch) | |
tree | 016fb9c72a400c0353b2fb1588bdab45b7af8413 /usr.bin/ctlstat/ctlstat.8 | |
parent | d0aee2df525a93abb27dfa061ae54984ddd4c1bd (diff) | |
download | FreeBSD-src-b41e8cfe2a32c3e55776db8e6fc5748eff243b6e.zip FreeBSD-src-b41e8cfe2a32c3e55776db8e6fc5748eff243b6e.tar.gz |
Bunch of improvements to ctlstat.
Add -p option to allow filtering by ports.
Make -l and -p options work in all modes as filters.
Improve output formatting to better fit columns.
Diffstat (limited to 'usr.bin/ctlstat/ctlstat.8')
-rw-r--r-- | usr.bin/ctlstat/ctlstat.8 | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/usr.bin/ctlstat/ctlstat.8 b/usr.bin/ctlstat/ctlstat.8 index 500ffb0..ebf9f5c 100644 --- a/usr.bin/ctlstat/ctlstat.8 +++ b/usr.bin/ctlstat/ctlstat.8 @@ -34,7 +34,7 @@ .\" $Id: //depot/users/kenm/FreeBSD-test2/usr.bin/ctlstat/ctlstat.8#2 $ .\" $FreeBSD$ .\" -.Dd May 22, 2015 +.Dd September 21, 2015 .Dt CTLSTAT 8 .Os .Sh NAME @@ -50,6 +50,7 @@ .Op Fl j .Op Fl l Ar lun .Op Fl n Ar numdevs +.Op Fl p Ar port .Op Fl w Ar wait .Sh DESCRIPTION The @@ -64,7 +65,7 @@ The options are as follows: .Bl -tag -width 10n .It Fl t Total mode. -This displays separate columns with the total CTL read and write output, +This displays separate columns with the total read and write output, and a combined total column that also includes non I/O operations. .It Fl c Ar count Display statistics this many times. @@ -74,23 +75,20 @@ Disable CPU statistics display. Display DMA operation time (latency) instead of overall I/O time (latency). .It Fl D Text dump mode. -Dump all available statistics every 30 seconds in a text format suitable -for parsing. +Dump statistics every 30 seconds in a text format suitable for parsing. No statistics are computed in this mode, only raw numbers are displayed. .It Fl h Suppress display of the header. .It Fl j JSON dump mode. -Dump all available statistics every 30 seconds in JavaScript Object -Notation (JSON) format. +Dump statistics every 30 seconds in JavaScript Object Notation (JSON) format. No statistics are computed in this mode, only raw numbers are displayed. .It Fl l Ar lun Request statistics for the specified LUN. -This option is incompatible with total -.Fl ( t ) -mode. .It Fl n Ar numdevs Display statistics for this many devices. +.It Fl p Ar port +Request statistics for the specified port. .It Fl w Ar wait Wait this many seconds in between displays. If this option is not specified, |