summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat/extern.h
Commit message (Collapse)AuthorAgeFilesLines
* remove __Pimp2002-03-221-80/+80
|
* WARNS=2 fixes with NO_WERROR set, as there are some header issuesmarkm2001-12-121-9/+9
| | | | with namelists. use __FBSDID().
* Mark error() as __printflike() and fix a non-exploitable format stringkris2001-05-251-1/+1
| | | | | | error. MFC after: 1 week
* Get rid of setgid kmem for systat, and while being there, fix some bugstmm2001-03-231-0/+5
| | | | | | | | | | | 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
* Change the devstat generation number from an int to a long. The int-sizedken1998-09-201-2/+2
| | | | | | | | | | generation was causing unaligned access faults on the Alpha. I have incremented the devstat version number, since this is an interface change. You'll need to recompile libdevstat, systat, iostat, vmstat and rpc.rstatd along with your kernel. Partially Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
* Update system to new device statistics code.gibbs1998-09-151-0/+7
| | | | Submitted by: "Kenneth D. Merry" <ken@plutotech.com>
* Having done ICMP, UDP, and IP, could a TCP display be far behind?wollman1997-09-271-0/+7
|
* Emboldened by the success of yesterday's ICMP statistics display,wollman1997-09-251-0/+7
| | | | I've now added one that does IP (and also UDP) statistics.
* Add a mode to display ICMP statistics.wollman1997-09-241-0/+7
| | | | Inspired by: IRIX netstat -C
* extern.h, iostat.c, main.c, vmstat.c:bde1994-12-031-0/+1
| | | | | | | | | | | | | | | | | 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/+118
OpenPOWER on IntegriCloud