wiz
9fa0b17629
Give initiali[sz]e all the "i"s it deserves.
2001-09-18 18:15:49 +00:00
matt
531338f3ce
Adjust vmstat -i / -e for wider event names
2001-08-26 02:50:37 +00:00
lukem
4e8c51f7aa
when printing "avm fre" fields, use " %5ld %5ld " instead of "%6ld%6ld ",
...
because it's better to slightly right-shift the display than run numbers
together when you've got > 99999KB avm or fre.
2001-06-13 08:18:30 +00:00
christos
717b628383
move extern at a global scope.
2001-06-03 04:02:34 +00:00
ross
65dd7f43a3
Update the -s description for the uvm era. (It was stuck in the pre-mach
...
bsd-vax-vm days. :-)
2001-05-19 00:36:15 +00:00
wiz
553c8f83e4
Move vmstat.8 to vmstat.1, since the program lives in /usr/bin now and is
...
not super-user-only.
Cf. short discussion on tech-userlevel.
2001-05-06 23:37:36 +00:00
thorpej
e0d3747f72
Move the number of page colors to the top of the display.
2001-05-02 01:26:04 +00:00
thorpej
01e2971ba2
Add the number of page colors to uvmexp.
2001-05-01 19:36:56 +00:00
thorpej
a553aade18
Print print color bucket hit/miss stats.
2001-04-29 05:56:47 +00:00
wiz
a3c62eec08
Fix date and two whitespace nits.
2001-04-26 23:16:47 +00:00
wiz
53ff5059ee
vmstat(8), not (1).
2001-04-09 12:35:26 +00:00
jhawk
350c31eeb0
Make -c and -w work properly when printing non-default statistics.
2001-04-05 20:04:03 +00:00
simonb
21425f4507
Show number of pages used by executables now that they're are counted
...
by UVM.
2001-03-09 02:42:23 +00:00
enami
0a3cd3740b
Prevent integer overflow.
2001-01-27 11:10:18 +00:00
enami
1afed7103d
Cosmetic changes.
2001-01-27 11:08:23 +00:00
simonb
198d7bfbee
Don't "extern" variables and function in dkstats.c, declare them in
...
dkstats.h instead.
2000-12-01 02:08:26 +00:00
simonb
80bd9216d2
ANSIfy.
2000-11-30 23:59:03 +00:00
simonb
f982391188
Use a better description for the vnode page cache pages.
2000-11-30 12:02:19 +00:00
simonb
21abd388e9
Show anonpages and vnodepages in "vmstat -s".
2000-11-30 11:50:15 +00:00
ad
e0ffdbe290
- mdocify
...
- misc clean ups
2000-11-13 12:16:28 +00:00
sommerfeld
e970dc32cd
Move cpu header right 3 spaces to match grouping in man page
2000-09-28 14:56:52 +00:00
sommerfeld
4d7c61e467
Synch with implementation (correct problem reported in misc/11086)
2000-09-28 14:51:15 +00:00
enami
f676ab58c4
Make vmstat -m to put at least one space between each numbers.
2000-09-23 00:39:19 +00:00
thorpej
c938e2e7cd
Display number of zero page aborts.
2000-09-21 22:38:28 +00:00
itojun
bbef2fbaac
errx?/warnx? audit. do not pass variable alone, use %s. idea from openbsd
2000-07-07 15:10:32 +00:00
mrg
8d4795719a
remove include of <vm/vm.h>
2000-06-29 06:26:33 +00:00
cgd
cffb580806
Implement the more flexiable `evcnt' interface as discussed (briefly) on
...
tech-kern and now documented in evcnt(9).
2000-06-04 19:14:14 +00:00
thorpej
13ba787e60
Use kern.cp_time to fetch cp_time[]. Don't support fetching it from
...
crash dumps yet, as that requires determining which CPU we should fetch
it from, etc.
2000-06-04 16:06:25 +00:00
itojun
872ae35bf5
cp_time is no longer available in the kernel.
...
remove it from namelist[] to make vmstat work.
2000-06-04 08:07:36 +00:00
perry
0da76771e9
include sys/sched.h to get definition of CPUSTATES
2000-06-04 02:25:40 +00:00
thorpej
ae67003975
Need to include <sys/sched.h> to get cp_time-related constants.
2000-06-03 21:00:42 +00:00
simonb
cc0dc305fc
cp_time[] and the terminal chars in/out counters are u_int64_t's now.
2000-05-29 11:36:43 +00:00
fair
69de15b2b2
Remove documentation of bogus "-t" option, per PR 10036.
2000-05-17 09:49:32 +00:00
thorpej
bb06f77483
Print the zero page statistics.
2000-04-24 17:40:31 +00:00
simonb
d88dfea295
Don't declare 'extern opt*' getopt variables.
2000-04-14 06:11:07 +00:00
kleink
a3c6c197a2
Cast timeval members to types we know the printf conversions of.
2000-03-27 17:03:25 +00:00
fredb
2cfe71bc9a
More fallout from CL* purge.
1999-12-05 18:54:34 +00:00
soren
6df42c85a5
Make pool output fit in 80 columns on most machines.
1999-11-02 06:23:50 +00:00
thorpej
0bd35e4157
This program has to use KVM alrady, so use that to read uvmexp, rather
...
than sysctl. This can now read VM stats from crash dumps.
1999-10-30 22:49:58 +00:00
chs
21eedb0ec1
the PMAP_NEW option is gone as the new interface is no longer optional.
1999-09-12 01:19:23 +00:00
thorpej
ed8849cd5a
Define __POOL_EXPOSE to get at the guts of the pool descriptor.
1999-03-31 23:25:46 +00:00
mrg
d2397ac5f7
completely remove Mach VM support. all that is left is the all the
...
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
kleink
b75d68301e
<sys/fcntl.h> -> <fcntl.h>
1999-02-12 15:04:00 +00:00
thorpej
04767647ca
Nuke all mentions of vmstat -t. PR #6433 , Geoff Wing.
1999-01-11 23:03:06 +00:00
perry
bfd526219d
bzero->memset, bcopy->memcpy, bcmp->memcmp
1998-08-10 02:57:23 +00:00
thorpej
10be977794
Display the number of idle pages per pool.
1998-08-01 23:45:05 +00:00
pk
c84a4e8823
Print memory pool statistics.
1998-07-27 10:26:11 +00:00
mycroft
0c4d98ae35
const poisoning.
1998-07-26 17:53:10 +00:00
drochner
b2058e2f38
Fix handling of privileges - the gid was given up before dkinit()
...
was called.
Pass the gid to use for KVM access explicitely to dkinit(), the caller
decides whether to call setgid(getgid()) or not.
1998-07-19 17:47:07 +00:00
mrg
80efe80bc9
- change setgid kmem programs (that lend themselves to this) so setegid(getgid())
...
and the top, and then set the effective gid back to kmem around the call to
kvm_openfiles(). this reduces the time group kmem is available.
- for those above that also allow this, setgid(getgid()) after the call to
kvm_openfiles() to fully revoke priviledges.
- some KNF
- use err(3) over fprintf(3) in some places
1998-07-06 07:50:18 +00:00