summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat/extern.h
Commit message (Collapse)AuthorAgeFilesLines
* Nuke "systat -mbuf". It was broken since FreeBSD 5, and since thereglebius2013-07-151-6/+0
| | | | haven't been any complaints, no one used it.
* Make systat(1) accept fractional number of seconds.melifaro2012-09-171-2/+3
| | | | | | Make old alarm(3)-based code use select(2). MFC after: 2 weeks
* Remove the advertising clause from UCB copyrighted files in usr.bin. Thisjoel2010-12-111-4/+0
| | | | | | | | | is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change Also add $FreeBSD$ to a few files to keep svn happy. Discussed with: imp, rwatson
* Backout sensors framework.netchild2007-10-151-6/+0
| | | | | Requested by: phk Discussed on: cvs-all
* Import OpenBSD's sysctl hardware sensors framework.netchild2007-10-141-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit includes the following core components: * sample configuration file for sensorsd * rc(8) script and glue code for sensorsd(8) * sysctl(3) doc fixes for CTL_HW tree * sysctl(3) documentation for hardware sensors * sysctl(8) documentation for hardware sensors * support for the sensor structure for sysctl(8) * rc.conf(5) documentation for starting sensorsd(8) * sensor_attach(9) et al documentation * /sys/kern/kern_sensors.c o sensor_attach(9) API for drivers to register ksensors o sensor_task_register(9) API for the update task o sysctl(3) glue code o hw.sensors shadow tree for sysctl(8) internal magic * <sys/sensors.h> * HW_SENSORS definition for <sys/sysctl.h> * sensors display for systat(1), including documentation * sensorsd(8) and all applicable documentation The userland part of the framework is entirely source-code compatible with OpenBSD 4.1, 4.2 and -current as of today. All sensor readings can be viewed with `sysctl hw.sensors`, monitored in semi-realtime with `systat -sensors` and also logged with `sensorsd`. Submitted by: Constantine A. Murenin <cnst@FreeBSD.org> Sponsored by: Google Summer of Code 2007 (GSoC2007/cnst-sensors) Mentored by: syrinx Tested by: many OKed by: kensmith Obtained from: OpenBSD (parts)
* Fix the easy warnings:dwmalone2004-03-091-0/+1
| | | | | | | | | 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 ip6 and icmp6 displays to systat.dwmalone2003-08-011-0/+14
| | | | MFC after: 2 weeks
* Add "ifstat" display:phk2003-01-041-1/+8
| | | | | | | | | | | | | | | 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>
* 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