summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat/iostat.c
Commit message (Collapse)AuthorAgeFilesLines
* remove __Pimp2002-03-221-5/+5
|
* WARNS=2 fixes with NO_WERROR set, as there are some header issuesmarkm2001-12-121-43/+45
| | | | with namelists. use __FBSDID().
* Convert systat(1) to use the new devstat interface.ken2001-09-061-7/+8
| | | | Submitted by: "Sergey A. Osokin" <osa@freebsd.org.ru>
* Get rid of setgid kmem for systat, and while being there, fix some bugstmm2001-03-231-1/+2
| | | | | | | | | | | and compiler warnings. The data for network statistics are still obtained via the kvm interface if systat was started with the needed privileges, otherwise sysctls are used. The reason for this is that with really many open sockets, the sysctl method is probably slower, but it systat -netstat is probably not really usable in either mode under these conditions. Approved by: rwatson
* o Make systat/iostat.c use sysctl() to retrieve cp_time instead ofrwatson2000-11-251-23/+9
| | | | kmem.
* Duh! get the scaling right.phk2000-06-011-3/+3
|
* Rescale the IOstat bars, modern disks are faster than old disks.phk2000-06-011-2/+2
|
* Don't include <sys/buf.h>phk2000-05-051-1/+0
|
* systat is way too comfortable with curses internals...peter1999-08-301-8/+8
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Quiet many compiler warnings.obrien1998-10-081-2/+3
|
* Update system to new device statistics code.gibbs1998-09-151-110/+145
| | | | Submitted by: "Kenneth D. Merry" <ken@plutotech.com>
* Fixed type mismatches which were fatal when sizeof(long) > sizeof(int).bde1998-07-061-1/+1
|
* o Use snprintf rather than sprintfimp1998-06-091-1/+1
| | | | | | | | | | | o Add more checks for buffer overflows o Use snprintf rather than strcat/cpy and have better checks for max length exceeded. Most of these changes are not exploitable buffer overruns, but it never hurts to be safe. Inspired by and obtained from: OpenBSD
* Cosmetic fixes for drive names which are 4 chars long.jkh1996-06-111-6/+6
| | | | Submitted-By: Joe Greco <jgreco@ns.sol.net>
* extern.h, iostat.c, main.c, vmstat.c:bde1994-12-031-7/+4
| | | | | | | | | | | | | | | | | Use the correct value of hz (stathz if it is nonzero) for interpretion of dk_time[] and cp_time[] in iostat.c. Avoid multiple conversions of this value in iostat.c and vmstat.c iostat.c: Implement the display of cp_time[CP_INTR]. Fix the display of cp_time[CP_IDLE] (the display was always null because cp_time[CP_INTR] == 0 was displayed instead). systat.1: Document the display of cp_time[CP_INTR]. vmstat.c: Implement the display of cp_time[CP_INTR].
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+389
OpenPOWER on IntegriCloud