summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat/ifcmds.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix the easy warnings:dwmalone2004-03-091-1/+2
| | | | | | | | | 1) Avoid shadowing index. 2) Constness. 3) Missing prototype for ifcmd. 4) Missing include of string.h. 5) Avoid shadowing error function. 6) ANSI definition for main.
* Add "ifstat" display:phk2003-01-041-0/+95
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 <trent@arpa.com>
OpenPOWER on IntegriCloud