summaryrefslogtreecommitdiffstats
path: root/usr.bin/systat/vmstat.c
Commit message (Collapse)AuthorAgeFilesLines
* "Disks" is more correct than "Disks" could be.green1999-09-191-1/+1
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Show dirty buffers and the percentage of time a disk was busy.des1999-07-301-10/+32
| | | | | PR: 12858 Submitted by: Arjan de Vet <Arjan.deVet@adv.iae.nl>
* 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-081-5/+38
| | | | | 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.
* revert to rev 1.29. (floppy drives will be gotten rid of another way)obrien1999-01-091-10/+1
|
* Turn the compile time option into a run-time option.obrien1998-12-271-7/+8
| | | | | | 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-081-3/+2
|
* Fix a core-dump situation in ":boot" mode in the vmstat display.ken1998-10-051-2/+2
| | | | Reported by: bde
* Update system to new device statistics code.gibbs1998-09-151-96/+176
| | | | Submitted by: "Kenneth D. Merry" <ken@plutotech.com>
* Fixed type mismatches which were fatal when sizeof(long) > sizeof(int).bde1998-07-061-6/+6
|
* o Use snprintf rather than sprintfimp1998-06-091-3/+3
| | | | | | | | | | | 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>
* Show size of vnode pool in vmstat mode.peter1997-09-251-2/+21
|
* Use err(3). /sys/dkstat.h -> /usr/include/sys/dkstat.hcharnier1997-08-131-8/+11
|
* Now that systat's working again, bring the vmstat cleanup over fromjkh1996-11-121-14/+14
| | | | -stable.
* Initialize interrupt counters. The boot time values were displayed as ***.bde1996-11-101-1/+1
| | | | | | Should be in 2.2. Pointed out by: /etc/malloc.conf -> AJ
* Cosmetic fixes for drive names which are 4 chars long.jkh1996-06-111-2/+2
| | | | Submitted-By: Joe Greco <jgreco@ns.sol.net>
* Localize timeache1996-03-311-1/+4
|
* Renamed Proc-cache to Dir-cache for the same reasons as in vmstat.bde1996-03-291-3/+3
| | | | Tweaked screen positions to match.
* Reduced vm dependencies. Only `struct vmmeter.h' is required.bde1995-12-131-2/+3
| | | | | | Unfortunately, the sysctl number for reading this struct is bogusly placed in <vm/vm_param.h> instead of with the declaration of the struct.
* Add explicit #include of <sys/vmmeter.h> after the last round of <vm/vm.h>peter1995-12-131-0/+1
| | | | changes.
* Don't attempt to read the variable `total' from the kernel. `total'bde1995-07-121-4/+2
| | | | | | isn't used in systat or in the kernel (it was replaced by a sysctl() call involving VM_METER) and will go away when I clean up bogus common variables in the kernel.
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
|
* From Mark Murray:dg1995-03-291-5/+5
| | | | | | I got irritated with not seeing the interrupt numbers in a (crowded) "systat -vmstat" display, so I fixed it. Here is a patch to please be applied in src/usr.bin/systat
* Removed object lookup/hit count and changed the order of things a little.dg1995-03-251-28/+24
|
* Removed cnt.v_nzfod...we don't support it in the kernel.dg1995-03-251-42/+30
|
* Fix the Name-cache counters. I didn't realign the negative hits.phk1995-03-181-1/+1
|
* Report the negative hits in the Namei section.phk1995-03-121-4/+6
|
* Changes to support printing stats for the 'cached pages'.dg1995-03-101-2/+10
| | | | Submitted by: John Dyson
* extern.h, iostat.c, main.c, vmstat.c:bde1994-12-031-15/+8
| | | | | | | | | | | | | | | | | 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].
* Moved "VMSTAT" column up by one row so that it displays properly on 24dg1994-11-251-1/+1
| | | | row displays.
* Updated to changes in struct vmmeter.dg1994-10-181-4/+4
|
* Updated to changes in struct vmmeter.dg1994-10-151-11/+11
|
* Make the %zfod display make more sense by comparing zfod versus the totalwollman1994-08-071-2/+5
| | | | zfod + nzfod, rather than zfod / nzfod, which doesn't make a whole lot of sense.
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+687
OpenPOWER on IntegriCloud