]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a new column to the output of vmstat -z to indicate the number
authorsbruno <sbruno@FreeBSD.org>
Tue, 15 Jun 2010 19:28:37 +0000 (19:28 +0000)
committersbruno <sbruno@FreeBSD.org>
Tue, 15 Jun 2010 19:28:37 +0000 (19:28 +0000)
commit3571902304966f5edad4bceddc7fb3170f4ff982
treec365e722a1674a60a8186f54209e8934369f70a5
parent597252854841710d6981f293f5bab6880df163b0
Add a new column to the output of vmstat -z to indicate the number
of times the system was forced to sleep when requesting a new allocation.

Expand the debugger hook, db_show_uma, to display these results as well.

This has proven to be very useful in out of memory situations when
it is not known why systems have become sluggish or fail in odd ways.

Reviewed by: rwatson alc
Approved by: scottl (mentor) peter
Obtained from: Yahoo Inc.
lib/libmemstat/memstat.c
lib/libmemstat/memstat.h
lib/libmemstat/memstat_internal.h
lib/libmemstat/memstat_uma.c
sys/vm/uma.h
sys/vm/uma_core.c
sys/vm/uma_int.h
usr.bin/vmstat/vmstat.c