summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsevan <sevan@FreeBSD.org>2017-03-30 01:48:36 +0000
committersevan <sevan@FreeBSD.org>2017-03-30 01:48:36 +0000
commit837fa3bc2ab758d631347f8dc6bb76f32cfdc370 (patch)
tree445166f45d86c9c1be9838f1bfdb2f888482d8a5
parenteeba3c4652d81aee48e29e67a74681909751311f (diff)
downloadFreeBSD-src-837fa3bc2ab758d631347f8dc6bb76f32cfdc370.zip
FreeBSD-src-837fa3bc2ab758d631347f8dc6bb76f32cfdc370.tar.gz
MFC r309552
Fix error in the example section Adjust formatting highlighted by igor. PR: 214683 Submitted by: Anindya Mukherjee <anindya49 AT hotmail DOT com> Reviewed by: jilles Approved by: bcr (mentor) Differential Revision: https://reviews.freebsd.org/D8591
-rw-r--r--usr.bin/systat/systat.122
1 files changed, 21 insertions, 1 deletions
diff --git a/usr.bin/systat/systat.1 b/usr.bin/systat/systat.1
index 4ac66a4..149484e 100644
--- a/usr.bin/systat/systat.1
+++ b/usr.bin/systat/systat.1
@@ -28,7 +28,7 @@
.\" @(#)systat.1 8.2 (Berkeley) 12/30/93
.\" $FreeBSD$
.\"
-.Dd October 24, 2015
+.Dd December 5, 2016
.Dt SYSTAT 1
.Os
.Sh NAME
@@ -110,6 +110,26 @@ 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 to this display.
+These commands can also be entered interactively and are described for
+each display separately below.
+If the command requires arguments, they can be specified as separate
+command line arguments.
+A command line argument
+.Fl -
+will finish display commands.
+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 numbers 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
OpenPOWER on IntegriCloud