simonb
f49b148a2f
Don't provide a local declaration of 'struct pool_cache_group' now that
...
it's in <sys/pool.h>.
2002-03-13 11:02:11 +00:00
enami
4df736987c
Fix broken indentation.
2002-03-11 15:29:22 +00:00
christos
9a6801b5cd
fix pool_allocator fallout. bad boy jason!
2002-03-10 01:48:25 +00:00
enami
41e1be38c5
- Kill whitespaces at the end of line.
...
- Wrap long line.
2002-02-25 00:39:04 +00:00
enami
2c0bf8440e
Don't forget to fetch pool cache group.
2002-02-20 07:52:43 +00:00
enami
6af26372f1
When printing pool stats, print pool cache stats also if -v is given.
2002-02-20 07:43:30 +00:00
ross
2a76afae02
Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
2002-02-08 01:36:18 +00:00
simonb
0f944ef22b
Use the new disk and tty stats sysctls when operating on a live kernel,
...
dk*() don't need to worry about setgid() games anymore.
2002-01-28 02:15:15 +00:00
chs
8e9cdbbd63
replace "vnode" and "vtext" with "file" and "exec" in uvmexp field names.
2001-12-09 03:07:43 +00:00
lukem
379a7b9d91
print average chain length as %8.2f instead of %8d
2001-12-06 03:48:56 +00:00
thorpej
235d97a465
KERNBASE is a constant that kernland has no business using; it's
...
existence and value are machine-dependent, and using KERNBASE
either breaks binary compatibility across the same MACHINE_ARCH
or prevents this program from compiling at all.
2001-11-29 21:22:25 +00:00
jmc
96316bebb6
Cast the printf'ing of the 2 size_t vars in dohashstat to unsigned long long as
...
some ports have size_t's which are larger than int's.
2001-11-26 21:04:49 +00:00
lukem
31c1ed8952
- Separate hashstat namelist into separate hashnl[], and don't barf if
...
some of the symbols can't be found
- Only kvm_nlist() hashnl[] and histnl[] once
- Add a description to struct kernel_hash, and print with -L
- Sort entries in khashes[]
- Don't exit on unknown hashes; just display a warning and move on
2001-11-26 14:06:31 +00:00
lukem
ef4781fc59
add stats for nchash & ncvhash
2001-11-26 10:38:59 +00:00
lukem
ff1761be8e
- Use -H (instead of -h) to list all hash stats.
...
- Add '-h hashname' to only list the stats for hashname.
- Add -L to list valid hashes
- Fix up some whitespace
2001-11-26 10:18:08 +00:00
wiz
d5d43c487a
Sort sections, and be consistent in each-vs-every usage at least in this
...
man page.
2001-11-26 07:52:46 +00:00
lukem
9ba7f648bb
- replace -h uvmhist with -u uvmhist, and -H with -U, since uvm history stuff
...
isn't generally enabled by default, and i wanted -h for something else.
- implement -h, which displays statistics for various kernel hash tables
- add deref_kptr(), which does the hard work of kvm_read() et al
- various minor cleanups
2001-11-26 07:40:01 +00:00
enami
31b84bf30a
Check array boundary correctly.
2001-11-21 00:40:56 +00:00
enami
5413315441
Print evcnt/intrcnt as unsigned.
2001-11-21 00:38:50 +00:00
bjh21
7a29a41680
When summarizing pool memory usage, account for PR_RECURSIVE pools
...
specially so as to avoid counting the same memory twice.
2001-10-07 12:50:54 +00:00
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