summaryrefslogtreecommitdiffstats
path: root/usr.bin/vmstat
Commit message (Collapse)AuthorAgeFilesLines
* Remove unneeded #include <sys/buf.h>phk2000-05-051-1/+0
|
* unifdef -Uvax -Uhp300 -Uluna68k -Umips -Utahoephk1999-09-011-48/+0
|
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Convert interrupt count from signed to unsigned and the totaln_hibma1999-07-261-4/+6
| | | | | | | | from signed long to unsigned lon long. PR: 12808 Submitted by: Kevin Day toasty@dragondata.com Reviewed by: bde
* Correct description of -c and -w optionskris1999-06-061-8/+10
| | | | | Inspired by: PR docs/11774 Submitted by: Chad R. Larson <chad@freeway.dcfinc.com>
* Backed out the previous commit, except for the parts that reducedbde1999-05-121-11/+5
| | | | | | | the magicness of 200. Cleaned up the remaining parts. Circularisation of the list of malloc types was a kernel bug (now fixed). Interfering with applications' definitions of pgtok is a system header bug (not fixed).
* Sometime since this file was written, the list of kernel malloc typesimp1999-05-101-4/+15
| | | | | | | | | changed from a simple list to a circular one. We compensate by only looping until we see the first address again. Before, things would terminate because it was limited to 200 iterations. This lead to bogus statistics and repeating stats for memory types. This should be merged into 3.2, as the same bug is there.
* Move an option outside of a nested list and up a bit to live free amongkris1999-04-261-3/+3
| | | | its brothers and sisters.
* Fixed bitrot in usage message and disordering of options in previous commit.bde1999-02-151-7/+7
| | | | | | | I'm not sure why we have `mvstat -z'. `sysctl vm.zone' gives more information. OTOH, `sysctl vm.zone' shouldn't return ASCII data, and reporting of memory use should be integrated, at least as an option.
* Fixed disordering of options in previous commit.bde1999-02-151-4/+4
|
* Add -z option to vmstat to dump data from the zone allocatordillon1999-02-132-12/+77
|
* Fix vmstat display problems. The header printout wasn't quite right, andken1999-02-102-13/+10
| | | | | | | | | the display wrapped around. This decreases the default maximum number of disks shown to 2, so things don't wrap around so easily. Also, it fixes the header display issues. Submitted by: Bruce Evans <bde@FreeBSD.ORG>
* Add a prioritization field to the devstat_add_entry() call so thatken1999-02-101-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | peripheral drivers can determine where in the devstat(9) list they are inserted. This requires recompilation of libdevstat, systat, vmstat, rpc.rstatd, and any ports that depend on the devstat code, since the size of the devstat structure has changed. The devstat version number has been incremented as well to reflect the change. This sorts devices in the devstat list in "more interesting" to "less interesting" order. So, for instance, da devices are now more important than floppy drives, and so will appear before floppy drives in the default output from systat, iostat, vmstat, etc. The order of devices is, for now, kept in a central table in devicestat.h. If individual drivers were able to make a meaningful decision on what priority they should be at attach time, we could consider splitting the priority information out into the various drivers. For now, though, they have no way of knowing that, so it's easier to put them in an easy to find table. Also, move the checkversion() call in vmstat(8) to a more logical place. Thanks to Bruce and David O'Brien for suggestions, for reviewing this, and for putting up with the long time it has taken me to commit it. Bruce did object somewhat to the central priority table (he would rather the priorities be distributed in each driver), so his objection is duly noted here. Reviewed by: bde, obrien
* Back out previous work-around for "vmstat -i" failing on ELFjdp1998-10-281-1/+1
| | | | | kernels. A better fix is now committed to "src/lib/libc/gen/nlist.c" and "src/usr.sbin/kvm_mkdb/nlist.c".
* Work around some variables having N_UNDF types but valid values; thismsmith1998-10-241-2/+2
| | | | | makes vmstat work on ELF kernels again. Submitted by: Daniel Rock <rock@cs.uni-sb.de>
* Change the devstat generation number from an int to a long. The int-sizedken1998-09-201-3/+5
| | | | | | | | | | 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>
* vmstat shows all manually-specified devices rather then just the firstdillon1998-09-161-1/+6
| | | | three.
* Delete unused code. This has been obsoleted by the new devstat code.ken1998-09-161-271/+0
| | | | Reviewed by: imp
* Update system to new device statistics code.gibbs1998-09-153-127/+294
| | | | Submitted by: "Kenneth D. Merry" <ken@plutotech.com>
* Terminate the defdrives array correctly. (Shame, Rod!)msmith1998-09-091-1/+1
| | | | Submitted by: Scott Michel <scottm@cs.ucla.edu>
* Fixed printf format errors.bde1998-07-061-15/+20
|
* Support a couple of new "-s" stats.dyson1998-03-071-1/+3
|
* Const poisoning from ks_shortdesc.bde1997-12-051-2/+2
|
* struct kmemstats was renamed.phk1997-10-101-3/+3
|
* Make vmstat understand the dynamic malloc stuff. There are a numberphk1997-10-101-15/+23
| | | | of ugly hardcoded constants in there.
* Be more specific about -f/-t options (they're not yet implemented),dima1997-10-061-11/+16
| | | | | | | not just exit with 0 status. This definitely should go to 2.2.5. If i won't have any objections - I'll commit it tonight.
* Use err(3). Add some %d to %ld changes.charnier1997-08-252-47/+38
|
* Cleanup inconsistencies in the manpage.steve1997-08-231-5/+7
| | | | | PR: docs/3709 Submitted by: Takahiro Yugawa <yugawa@orleans.rim.or.jp>
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-1/+1
| | | | posix standard on the topic.
* Slight visual formatting change to the output so that:scrappy1997-03-161-3/+3
| | | | | | | | | | | | procs memory page disks faults cpu r b w avm fre flt re pi po fr sr w0 w1 in sy cs us sy id 1 0 04135184 6016 180 2 1 0 158 135 10 0 386 1820 77 20 6 74 looks like: procs memory page disks faults cpu r b w avm fre flt re pi po fr sr w0 w1 in sy cs us sy id 1 0 0 4135188 6016 180 2 1 0 158 135 10 0 387 1821 77 20 6 74
* Make the man page agree with the actual vmstat outputmpp1997-01-091-14/+16
| | | | and options.
* Fixed DPADD.bde1996-09-051-1/+1
|
* Change a stray reference to pstat to vmstat.mpp1996-08-241-1/+1
| | | | Pointed-out-by: bde
* Convert to mdoc format.mpp1996-08-231-122/+133
|
* Correct a typo.joerg1996-04-301-1/+1
| | | | Submitted by: mbarkah@hemi.com (Ade Barkah)
* Print number of second-level cache hits as per-directory, not per-processjkh1996-03-031-1/+1
| | | | | (since they're per-directory now). Learned from: Kirk McKusick's OS internals course.. :-)
* Reduced vm dependencies. Only `struct vmmeter.h' is required.bde1995-12-131-2/+4
| | | | | | 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 a #include <sys/vmmeter.h> since we are using the vmmeter structurespeter1995-12-131-0/+1
| | | | | and this was once (but no longer it seems) included by <vm/vm.h> It should now compile again.
* Remove trailing whitespace.rgrimes1995-05-302-2/+2
|
* Removed object lookup/hit count and changed the order of things a little.dg1995-03-251-4/+2
|
* Removed printing of cnt.v_nzfod: we don't implement this in the kernel.dg1995-03-251-1/+0
|
* Added 'pages in VM cache' statistic.dg1995-01-101-0/+1
|
* change a .TH VMSTAT 1 to a .TH VMSTAT 8 .ats1994-12-121-1/+1
|
* More absolute pathsphk1994-11-211-1/+1
|
* Made zero-fill stats a bit more clear.dg1994-10-181-2/+2
|
* Updated to changes in struct vmmeter and reorganized -s stats to be moredg1994-10-181-13/+15
| | | | logical.
* Restore all of my changes that Garrett clobbered in the previous commit.dg1994-10-171-72/+19
|
* New way of getting disk drive names.wollman1994-10-162-58/+84
|
* Updated to changes in struct vmmeter. Nuked !NEWVM code. Fixed roundingdg1994-10-151-72/+19
| | | | bug when interval is 1 second.
* Realigned the output of "vmstat -m", "MSDOSFS mount" was too wide for thephk1994-10-051-11/+21
| | | | | field. Saved some space and gained a little clarity by printing "128K" instead of 131072 (and so on).
OpenPOWER on IntegriCloud