diff options
author | Alexander V. Chernikov <melifaro@FreeBSD.org> | 2013-02-20 13:47:05 +0000 |
---|---|---|
committer | Alexander V. Chernikov <melifaro@FreeBSD.org> | 2013-02-20 13:47:05 +0000 |
commit | b0214723994c4a515e72f6b17da068aa2bfda20a (patch) | |
tree | 339df11f8687311bce17ea1246bd23d4ce6bad27 /usr.bin/systat/systat.1 | |
parent | c9263bd2883b9f4d6a52af01ee14119521230cd9 (diff) |
Add interface name filtering via 'match' cmd.
Add 'pps' cmd for switching beetween interface packets/bytes statistics.
Submitted by: vsevolod
MFC after: 2 weeks
Notes
Notes:
svn path=/head/; revision=247036
Diffstat (limited to 'usr.bin/systat/systat.1')
-rw-r--r-- | usr.bin/systat/systat.1 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/usr.bin/systat/systat.1 b/usr.bin/systat/systat.1 index 1b142092270c..7637673c4350 100644 --- a/usr.bin/systat/systat.1 +++ b/usr.bin/systat/systat.1 @@ -511,6 +511,28 @@ Modify the scale used to display the current and peak traffic over all interfaces. The following units are recognised: kbit, kbyte, mbit, mbyte, gbit, gbyte and auto. +.It Cm pps +Show statistics in packets per second instead of bytes/bits per second. +A subsequent call of +.Ic pps +switches this mode off. +.It Cm match Op Ar patterns +Display only interfaces that match pattern provided as an argument. +Patterns should be in shell syntax separated by whitespaces or commas. +If this command is called without arguments then all interfaces are displayed. +For example: +.Pp +.Dl match em0, bge1 +.Pp +This will display em0 and bge1 interfaces. +.Pp +.Dl match em*, bge*, lo0 +.Pp +This will display all +.Ic em +interfaces, all +.Ic bge +interfaces and the loopback interface. .El .El .Pp |