summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat
Commit message (Collapse)AuthorAgeFilesLines
* Change the proc information returned from the kernel so that itmckusick2000-12-121-10/+6
| | | | | | | | | | | | no longer contains kernel specific data structures, but rather only scalar values and structures that are already part of the kernel/user interface, specifically rusage and rtprio. It no longer contains proc, session, pcred, ucred, procsig, vmspace, pstats, mtx, sigiolst, klist, callout, pasleep, or mdproc. If any of these changed in size, ps, w, fstat, gcore, systat, and top would all stop working. The new structure has over 200 bytes of unassigned space for future values to be added, yet is nearly 100 bytes smaller per entry than the structure that it replaced.
* Correct int/long type mismatch in the proper place this time. freevnodesgallatin2000-12-021-2/+2
| | | | | | | | | | | and numvnodes are longs in the kernel. They should remain longs in systat, what really needs to change is that they should be using SYSCTL_LONG rather than SYSCTL_INT. I also changed wantfreevnodes to SYSCTL_LONG because I happened to notice it. I wish there was a way to find all of these automatically.. Pointed out by: bde
* fix another int/long type mismatch. This one was causing pigs togallatin2000-12-011-1/+1
| | | | die with an fpe on alpha because fscale wasn't properly initted
* fix int/long type mismatches found on alphagallatin2000-12-011-4/+4
|
* o Make systat/vmstat.c use sysctl() to retrieve cp_time, bufspace,rwatson2000-11-251-29/+50
| | | | | | | | | | maxvnodes, numvnodes, freevnodes, nchstats, and numdirtybuffers. o Make the hw.ncpu error checking code a little more rigorous by sanity checking the returned data size. o Didn't fix machine-dependent non-sysctl-exported variables: intrnames, eintrnames, intrcnt, eintrcnt, as these variables are defined and exported from machine-dependent kernel code in assembly. This should probably be fixed somehow.
* o make systat/pigs.c use syctl() to retrieve cp_time, fscale, and ccpurwatson2000-11-251-27/+32
| | | | instead of using kmem.
* o Make systat/iostat.c use sysctl() to retrieve cp_time instead ofrwatson2000-11-251-23/+9
| | | | kmem.
* o Make systat use sysctl() to retrieve hz and stathz, instead ofrwatson2000-11-251-19/+14
| | | | using kmem.
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-3/+3
|
* Remove obsolete /dev/drum referencesjedgar2000-10-291-2/+1
| | | | Reviewed by: alex, asmodai, billf
* Remove unneded -ltermcapache2000-09-161-2/+3
|
* Quick Fix: swap.c doesn't appear to actually need <sys/conf.h>, so removepeter2000-08-241-1/+0
| | | | | it to try and get world building again. (sys/conf.h now depends on sys/types.h)
* Fix systat to use the kern.ipc.mbtypes sysctl instead of referencing aalfred2000-07-151-34/+44
| | | | | | | | | structure member that doesn't exist anymore. Use getsysctlbyname for kern.ipc.mbstat instead of sysctl. Use netstat's method of displaying values from mtnames. Submitted by: Ian Dowse <iedowse@maths.tcd.ie> Missed by PR: 19809
* 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-053-3/+0
|
* #include <errno.h> where needed. Kill extern int errno;.imp2000-04-141-1/+1
| | | | Minor warnings in tip corrected.
* Remove more single-space hard sentence breaks.sheldonh2000-03-021-1/+2
|
* s/curses/ncurses/nik2000-03-011-1/+1
| | | | | PR: docs/17061 Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de>
* "Disks" is more correct than "Disks" could be.green1999-09-191-1/+1
|
* systat is way too comfortable with curses internals...peter1999-08-304-13/+13
|
* $Id$ -> $FreeBSD$peter1999-08-2818-18/+18
|
* Fix bad references:chris1999-08-141-3/+3
| | | | | vmstat(1) -> vmstat(8) iostat(1) -> iostat(8)
* Show dirty buffers and the percentage of time a disk was busy.des1999-07-302-14/+37
| | | | | PR: 12858 Submitted by: Arjan de Vet <Arjan.deVet@adv.iae.nl>
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Tidy up references to <sys/rlist.h> and support for the old swap managementpeter1999-05-111-2/+1
| | | | that went away in January.
* Display floats with format %*.0f instead of as "*****" if there isbde1999-03-221-1/+5
| | | | | enough space for this but not enough space for the normal %*.*f format. Similarly for long doubles.
* Include discrete ozfod as well as ozfod/zfod percentage.dillon1999-02-081-7/+7
|
* If there are 4 or fewer disk devices, we have room to display additionaldillon1999-02-082-5/+39
| | | | | VM statistics. zfod is moved and %slo-z ( percentage of zero-fills that were slow, i.e. not pre-zero'd ), and number of pages freed per second.
* Be nice when no swap is configured in systemdillon1999-02-061-1/+11
|
* Fix labeling bugdillon1999-01-221-1/+3
|
* Make systat -swap use new kvm_swapinfo() functiondillon1999-01-221-137/+57
|
* revert to rev 1.29. (floppy drives will be gotten rid of another way)obrien1999-01-091-10/+1
|
* Add copyright and RCS/CVS Id.obrien1998-12-271-0/+28
| | | | Noticed by: ken
* Update section on DK_NDRIVES (which was removed with CAM), and explainobrien1998-12-271-9/+10
| | | | | | relation to devstat(3)/(9). Submitted-by: ken@freebsd.org
* Turn the compile time option into a run-time option.obrien1998-12-272-7/+10
| | | | | | You can now use the `want_fd' command in the vmstat display. Suggested by: grog
* Don't waste precious space on showing the performance of fdX.obrien1998-12-271-1/+9
| | | | (can get old behavior with -DWANT_FD)
* Quiet many compiler warnings.obrien1998-10-0810-20/+31
|
* Fix a core-dump situation in ":boot" mode in the vmstat display.ken1998-10-051-2/+2
| | | | Reported by: bde
* Change the devstat generation number from an int to a long. The int-sizedken1998-09-202-5/+7
| | | | | | | | | | 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>
* Delete unused code. This has been obsoleted by the new devstat code.ken1998-09-161-207/+0
| | | | Reviewed by: imp
* Reference new files for device stat support.gibbs1998-09-151-5/+6
|
* Update system to new device statistics code.gibbs1998-09-155-213/+681
| | | | Submitted by: "Kenneth D. Merry" <ken@plutotech.com>
* Add missing comma.jkoshy1998-09-091-1/+1
| | | | | PR: 7841 Submitted by: NOKUBI Hirotaka <hnokubi@yyy.or.jp>
* Fixed type mismatches which were fatal when sizeof(long) > sizeof(int).bde1998-07-065-13/+13
|
* Update vmstat portion of man page to reflect the statistics currentlyghelmer1998-06-251-34/+29
| | | | | shown by systat's vmstat display. PR: docs/3764
* #include <arpa/inet.h>peter1998-06-122-2/+4
|
* o Use snprintf rather than sprintfimp1998-06-098-23/+32
| | | | | | | | | | | 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
* Correctly display the interrupt counts.jhay1998-05-271-1/+6
| | | | Reviewed with optimizations by: Tor Egge <tegge>
* Use 'proto <tcp|udp|all>' to select the protocol to displaysteve1997-12-042-12/+21
| | | | | | | | | in netstat-mode to avoid a conflict with tcp-mode. Also while documenting this new feature in the manpage, fix a minor display nit. PR: 5159 Submitted by: Sergei Chechetkin <csl@whale.sunbay.crimea.ua>
OpenPOWER on IntegriCloud