Kenneth D. Merry
bcc6a3da92
Change the devstat generation number from an int to a long. The int-sized
...
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>
1998-09-20 00:11:23 +00:00
Matthew Dillon
8f82c3ea68
vmstat shows all manually-specified devices rather then just the first
...
three.
1998-09-16 18:20:23 +00:00
Kenneth D. Merry
8b95823257
Delete unused code. This has been obsoleted by the new devstat code.
...
Reviewed by: imp
1998-09-16 00:25:54 +00:00
Justin T. Gibbs
8d2fbde504
Update system to new device statistics code.
...
Submitted by: "Kenneth D. Merry" <ken@plutotech.com>
1998-09-15 08:16:45 +00:00
Mike Smith
1717c90cc3
Terminate the defdrives array correctly. (Shame, Rod!)
...
Submitted by: Scott Michel <scottm@cs.ucla.edu>
1998-09-09 02:22:28 +00:00
Bruce Evans
22694ebad5
Fixed printf format errors.
1998-07-06 21:01:54 +00:00
John Dyson
4d5459f794
Support a couple of new "-s" stats.
1998-03-07 23:40:23 +00:00
Bruce Evans
188da0efe1
Const poisoning from ks_shortdesc.
1997-12-05 19:28:28 +00:00
Poul-Henning Kamp
8c85509d0a
struct kmemstats was renamed.
1997-10-10 18:19:48 +00:00
Poul-Henning Kamp
327af1899a
Make vmstat understand the dynamic malloc stuff. There are a number
...
of ugly hardcoded constants in there.
1997-10-10 14:08:07 +00:00
Dima Ruban
fed746a535
Be more specific about -f/-t options (they're not yet implemented),
...
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.
1997-10-06 18:52:16 +00:00
Philippe Charnier
495aecea76
Use err(3). Add some %d to %ld changes.
1997-08-25 06:40:05 +00:00
Steve Price
aeaa52dbdc
Cleanup inconsistencies in the manpage.
...
PR: docs/3709
Submitted by: Takahiro Yugawa <yugawa@orleans.rim.or.jp>
1997-08-23 21:42:46 +00:00
Warner Losh
1c8af87873
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
Marc G. Fournier
54a064002a
Slight visual formatting change to the output so that:
...
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
1997-03-16 23:11:07 +00:00
Mike Pritchard
9d16a728b6
Make the man page agree with the actual vmstat output
...
and options.
1997-01-09 06:49:33 +00:00
Bruce Evans
5b963fa12e
Fixed DPADD.
1996-09-05 17:16:10 +00:00
Mike Pritchard
33d83c832e
Change a stray reference to pstat to vmstat.
...
Pointed-out-by: bde
1996-08-24 16:12:53 +00:00
Mike Pritchard
1c1f145f2b
Convert to mdoc format.
1996-08-23 21:40:59 +00:00
Joerg Wunsch
c584e0e88a
Correct a typo.
...
Submitted by: mbarkah@hemi.com (Ade Barkah)
1996-04-30 05:20:32 +00:00
Jordan K. Hubbard
1d66e218f6
Print number of second-level cache hits as per-directory, not per-process
...
(since they're per-directory now).
Learned from: Kirk McKusick's OS internals course.. :-)
1996-03-03 09:06:59 +00:00
Bruce Evans
d376015efe
Reduced vm dependencies. Only `struct vmmeter.h' is required.
...
Unfortunately, the sysctl number for reading this struct is
bogusly placed in <vm/vm_param.h> instead of with the declaration
of the struct.
1995-12-13 15:01:13 +00:00
Peter Wemm
5141eaa463
add a #include <sys/vmmeter.h> since we are using the vmmeter structures
...
and this was once (but no longer it seems) included by <vm/vm.h>
It should now compile again.
1995-12-13 11:33:34 +00:00
Rodney W. Grimes
7799f52a32
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
David Greenman
ff93e578a0
Removed object lookup/hit count and changed the order of things a little.
1995-03-25 08:44:48 +00:00
David Greenman
42d825e109
Removed printing of cnt.v_nzfod: we don't implement this in the kernel.
1995-03-25 06:11:43 +00:00
David Greenman
39b3568a26
Added 'pages in VM cache' statistic.
1995-01-10 05:52:59 +00:00
Andreas Schulz
ab51dae938
change a .TH VMSTAT 1 to a .TH VMSTAT 8 .
1994-12-12 00:26:08 +00:00
Poul-Henning Kamp
d8b4e0d7f5
More absolute paths
1994-11-21 00:17:10 +00:00
David Greenman
eb0a76a869
Made zero-fill stats a bit more clear.
1994-10-18 15:17:09 +00:00
David Greenman
204b727408
Updated to changes in struct vmmeter and reorganized -s stats to be more
...
logical.
1994-10-18 15:00:06 +00:00
David Greenman
8678b0ebb5
Restore all of my changes that Garrett clobbered in the previous commit.
1994-10-17 10:34:42 +00:00
Garrett Wollman
379bb2d779
New way of getting disk drive names.
1994-10-16 04:04:56 +00:00
David Greenman
d804109675
Updated to changes in struct vmmeter. Nuked !NEWVM code. Fixed rounding
...
bug when interval is 1 second.
1994-10-15 13:36:32 +00:00
Poul-Henning Kamp
3d9d72fc59
Realigned the output of "vmstat -m", "MSDOSFS mount" was too wide for the
...
field. Saved some space and gained a little clarity by printing "128K"
instead of 131072 (and so on).
1994-10-05 04:52:47 +00:00
Garrett Wollman
b35bdc400c
More merry makefile munging for man page compatability.
1994-08-05 19:00:04 +00:00
David Greenman
b3bfc7199e
Converted 'vmunix' to 'kernel'.
1994-08-05 09:14:37 +00:00
Rodney W. Grimes
987df638a9
Add read_names support for i386, based on my original work from FreeBSD
...
and cleaned up slightly.
1994-05-29 06:19:34 +00:00
Rodney W. Grimes
9b50d90275
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00