aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/systat/systat.1
diff options
context:
space:
mode:
authorAlexander V. Chernikov <melifaro@FreeBSD.org>2014-05-09 16:20:55 +0000
committerAlexander V. Chernikov <melifaro@FreeBSD.org>2014-05-09 16:20:55 +0000
commit6052df8ef8f767decb426dceca5be4b419f011ca (patch)
tree65455cff07ec24df3801a92613c467148df4b2f8 /usr.bin/systat/systat.1
parent827ac19dc212c4ee961696f23f2a6961bb30398b (diff)
Allow systat(1) interactive dispay-specific commands to
be specified via command line. Submitted by: vsevolod MFC after: 2 weeks
Notes
Notes: svn path=/head/; revision=265782
Diffstat (limited to 'usr.bin/systat/systat.1')
-rw-r--r--usr.bin/systat/systat.118
1 files changed, 18 insertions, 0 deletions
diff --git a/usr.bin/systat/systat.1 b/usr.bin/systat/systat.1
index 9c144e7e2325..5fc3257c59b5 100644
--- a/usr.bin/systat/systat.1
+++ b/usr.bin/systat/systat.1
@@ -37,6 +37,7 @@
.Sh SYNOPSIS
.Nm
.Op Fl display
+.Op Ar display-commands
.Op Ar refresh-interval
.Sh DESCRIPTION
The
@@ -108,6 +109,23 @@ The
.Ar refresh-value
specifies the screen refresh time interval in seconds.
Time interval can be fractional.
+.It Ar display-commands
+A list of commands specific for this display. These commands can also
+be entered interactively and are described for each display separately
+below. If the command of the display requires an argument or arguments,
+it is possible to specify them as separate command line argument. To finish
+display commands it is possible to use double dash at the end
+of the list. For example:
+.Pp
+.Dl Nm Fl ifstat Fl match Ar bge0,em1 Fl pps
+.Pp
+This will display statistics of packets per second for network interfaces
+named as bge0 and em1.
+.Pp
+.Dl Nm Fl iostat Fl numeric Fl - Ar 2.1
+.Pp
+This will display all IO statistics in a numeric format and the information
+will be refreshed each 2.1 seconds.
.El
.Pp
Certain characters cause immediate action by