Commit Graph

14 Commits

Author SHA1 Message Date
simonb 828483a73e Remove extern variables and functions now declared in dkstats.h.
While here, remove 77 (!) unneed #includes.
2000-12-01 02:19:43 +00:00
ad fc3915475d - Add `boot', `run', `time' and `zero' commands to all IP displays. These work
as in the `vmstat' display mode. The default mode is now `time', not `boot'.
- ANSIfy.
- s@kre\(@vmstat\(@.
- __RCSID() police.
- Tweak inet.icmp display visual a little.
2000-07-05 11:03:20 +00:00
mycroft 981f9b7d7b Use hline() and variants in a bunch of places. 2000-06-04 18:29:13 +00:00
mrg 90bc324a8d use <sys/swap.h>. should have happened years ago. 2000-04-13 08:29:56 +00:00
jwise 850fb37f89 Fix error handling throughout. First off, it is not true as claimed in swap.c
that `systat doesn't handle errors'.  Second off, errx should not be used directly, since
the terminal should be cleaned up before bailing.  Third off, whatever we do we need
to be consistent.

There, I feel better now.
1999-12-20 23:11:50 +00:00
marc e803638497 since the return from swapctl can change from call to call, print the
"Disk" column each time.  Also, use sep->se_path, not
devname(sep->se_dev).
1998-12-26 07:05:08 +00:00
mrg 1e987690a8 - some KNF.
- use __RCSID().
- WARNS=1
- use swapctl(2), rather than grovelling KVM.
1997-07-21 07:03:15 +00:00
mikel 53704bc733 erase old Xs when printing new ones for swap usage; from Paul Boven in
PR bin/3431 with some changes by me.
1997-04-03 06:07:40 +00:00
christos 8a0d2c8cb0 Fix PR1882+PR3171, swap display core-dumps from Paul Boven. 1997-02-02 19:20:55 +00:00
thorpej 1eaf5ee379 New userland code to read the statistics kept by the NetBSD generic
disk framework, from John M. Vinopal <banshee@gabriella.resort.com>
1996-05-10 23:16:30 +00:00
jtc f1df59ade6 Sync with 4.4lite2 1995-08-31 22:11:37 +00:00
cgd 5cac5e9c7c various includes, casts, and cleanups... 1995-04-29 05:54:42 +00:00
jtc 2f3cb7ae7d Changed to conform to NetBSD's new RCS Id convention. 1995-01-20 08:51:48 +00:00
jtc 12749a2a84 imported from 44lite 1995-01-20 08:30:50 +00:00