jdp
5b35be6f12
Back out previous work-around for "vmstat -i" failing on ELF
...
kernels. A better fix is now committed to "src/lib/libc/gen/nlist.c"
and "src/usr.sbin/kvm_mkdb/nlist.c".
1998-10-28 06:41:24 +00:00
msmith
b628626c22
Work around some variables having N_UNDF types but valid values; this
...
makes vmstat work on ELF kernels again.
Submitted by: Daniel Rock <rock@cs.uni-sb.de>
1998-10-24 23:12:09 +00:00
ken
7c2e7bb880
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
dillon
8c0ba7f814
vmstat shows all manually-specified devices rather then just the first
...
three.
1998-09-16 18:20:23 +00:00
gibbs
b954e9c264
Update system to new device statistics code.
...
Submitted by: "Kenneth D. Merry" <ken@plutotech.com>
1998-09-15 08:16:45 +00:00
bde
0609531ab6
Fixed printf format errors.
1998-07-06 21:01:54 +00:00
dyson
a620a26471
Support a couple of new "-s" stats.
1998-03-07 23:40:23 +00:00
bde
dbfaf6f7a4
Const poisoning from ks_shortdesc.
1997-12-05 19:28:28 +00:00
phk
f1a5d63a7b
struct kmemstats was renamed.
1997-10-10 18:19:48 +00:00
phk
ad5c9a1c33
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
c345be1851
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
charnier
5aeacfdd37
Use err(3). Add some %d to %ld changes.
1997-08-25 06:40:05 +00:00
imp
141381e1cb
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
scrappy
3e65976742
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
jkh
7e37c839a0
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
bde
06e92e8fee
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
160e301cbc
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
rgrimes
a14d555c87
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
dg
c510e7263f
Removed object lookup/hit count and changed the order of things a little.
1995-03-25 08:44:48 +00:00
dg
e859f0ca16
Removed printing of cnt.v_nzfod: we don't implement this in the kernel.
1995-03-25 06:11:43 +00:00
dg
028f7bbfb0
Added 'pages in VM cache' statistic.
1995-01-10 05:52:59 +00:00
dg
760a1ff3ea
Made zero-fill stats a bit more clear.
1994-10-18 15:17:09 +00:00
dg
fd05e6fbc0
Updated to changes in struct vmmeter and reorganized -s stats to be more
...
logical.
1994-10-18 15:00:06 +00:00
dg
7333a06cbb
Restore all of my changes that Garrett clobbered in the previous commit.
1994-10-17 10:34:42 +00:00
wollman
efe252383a
New way of getting disk drive names.
1994-10-16 04:04:56 +00:00
dg
6c5c5a9444
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
phk
f87d72f160
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
rgrimes
573f71ed7a
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
rgrimes
f9ab90d9d6
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00