From b59ba7df878187d5c46631570131d5b4546d02ec Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sat, 4 Jan 2003 22:07:24 +0000 Subject: Add "ifstat" display: ifstat Display the network traffic going through active interfaces on the system. Idle interfaces will not be displayed until they receive some traffic. For each interface being displayed, the current, peak and total statistics are displayed for incoming and outgoing traffic. By default, the ifstat display will automatically scale the units being used so that they are in a human-read- able format. The scaling units used for the current and peak traffic columns can be altered by the scale command. Submitted by: Trent Nelson --- usr.bin/systat/systat.1 | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'usr.bin/systat/systat.1') diff --git a/usr.bin/systat/systat.1 b/usr.bin/systat/systat.1 index b45adc34f591..d276e58acc4d 100644 --- a/usr.bin/systat/systat.1 +++ b/usr.bin/systat/systat.1 @@ -88,6 +88,7 @@ flag expects .Ar display to be one of: .Ic icmp , +.Ic ifstat , .Ic iostat , .Ic ip , .Ic mbufs , @@ -432,6 +433,28 @@ then only the requested information will be displayed. Reset the port, host, and protocol matching mechanisms to the default (any protocol, port, or host). .El +.It Ic ifstat +Display the network traffic going through active interfaces on the +system. Idle interfaces will not be displayed until they receive some +traffic. +.Pp +For each interface being displayed, the current, peak and total +statistics are displayed for incoming and outgoing traffic. By default, +the +.Ic ifstat +display will automatically scale the units being used so that they are +in a human-readable format. The scaling units used for the current and +peak +traffic columns can be altered by the +.Ic scale +command. +.Pp +.Bl -tag -width Ar -compact +.It Cm scale Op Ar units +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. +.El .El .Pp Commands to switch between displays may be abbreviated to the -- cgit v1.2.3