summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat/convtbl.h
Commit message (Collapse)AuthorAgeFilesLines
* Add the Tera scale factor, which is an easy job now.yar2006-11-271-0/+5
| | | | | More scale factors would overflow the command line where the help for "scale" were shown.
* Stop exposing things that can be private to convtbl.c.yar2006-11-271-18/+0
|
* Keep all convtbl-related constants and strings in convtbl.[ch].yar2006-11-271-1/+4
|
* Allow for large scale factors. C99 warrants thatyar2006-11-271-5/+6
| | | | | | | | | ULLONG_MAX is not less than 2^64-1; and uintmax_t cannot be more narrow than unsigned long long. This allows for scale factors up to Exa inclusively. Use plain int for the scale index to be consistent with ifcmds.c and enum.
* C can enumerate things for us.yar2006-11-271-9/+11
|
* The real contents of this file were repeated twice.yar2006-11-261-66/+0
| | | | | | | | The repetition was harmless due to a usual #ifndef _FOO_H_ wrapper. Fortunately, nobody started to hack the second copy, so just remove it from the file. MFC after: 3 days
* Fix the easy warnings:dwmalone2004-03-091-2/+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/+132
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