Up to [cvs.NetBSD.org] / src / usr.bin / vmstat
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.188 / (download) - annotate - [select for diffs], Sun Apr 29 16:23:56 2012 UTC (13 months, 3 weeks ago) by para
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
tls-maxphys-nbase,
tls-maxphys-base,
tls-maxphys,
agc-symver-base,
agc-symver,
HEAD
Changes since 1.187: +9 -128
lines
Diff to previous 1.187 (colored)
remove malloc(9) output function from vmstat it is not required and working any more
Revision 1.187 / (download) - annotate - [select for diffs], Tue Mar 20 20:34:59 2012 UTC (15 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base4
Changes since 1.186: +3 -3
lines
Diff to previous 1.186 (colored)
Use C89 function definitions
Revision 1.186 / (download) - annotate - [select for diffs], Sat Oct 15 21:59:48 2011 UTC (20 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus
Branch point for: yamt-pagecache
Changes since 1.185: +3 -3
lines
Diff to previous 1.185 (colored)
use warn instead of perror.
Revision 1.185 / (download) - annotate - [select for diffs], Sat Oct 15 21:06:05 2011 UTC (20 months ago) by christos
Branch: MAIN
Changes since 1.184: +22 -34
lines
Diff to previous 1.184 (colored)
unbreak -f -H -h, etc, part 1 - get nlist once in the beginning and fix the flags. Not each time! It is not like the kernel will change it symbols in the middle of the run.
Revision 1.184 / (download) - annotate - [select for diffs], Wed Sep 21 12:08:02 2011 UTC (20 months, 4 weeks ago) by jym
Branch: MAIN
Changes since 1.183: +3 -4
lines
Diff to previous 1.183 (colored)
Use __arraycount(), as done above.
Revision 1.183 / (download) - annotate - [select for diffs], Tue Sep 6 18:44:46 2011 UTC (21 months, 1 week ago) by joerg
Branch: MAIN
Changes since 1.182: +4 -4
lines
Diff to previous 1.182 (colored)
Mark usage as static and __dead.
Revision 1.182 / (download) - annotate - [select for diffs], Tue Jul 26 13:24:38 2011 UTC (22 months, 3 weeks ago) by yamt
Branch: MAIN
Changes since 1.181: +7 -5
lines
Diff to previous 1.181 (colored)
dopoolcache: don't print unused caches unless verbose
Revision 1.181 / (download) - annotate - [select for diffs], Tue May 17 04:18:07 2011 UTC (2 years, 1 month ago) by mrg
Branch: MAIN
CVS Tags: cherry-xenmp-base,
cherry-xenmp
Changes since 1.180: +19 -18
lines
Diff to previous 1.180 (colored)
move and rename the uvm history code out of uvm_stat to "kernhist". rename "UVMHIST" option to enable the uvm histories. TODO: - make UVMHIST properly depend upon KERNHIST - enable dynamic registration of histories. this is mostly just allocating something in a bitmap, and is only for viewing multiple histories in a merged form. tested on amd64 and sparc64.
Revision 1.180 / (download) - annotate - [select for diffs], Wed Feb 16 12:58:38 2011 UTC (2 years, 4 months ago) by nakayama
Branch: MAIN
CVS Tags: bouyer-quota2-nbase,
bouyer-quota2-base
Changes since 1.179: +13 -7
lines
Diff to previous 1.179 (colored)
Fix header, format and total count of system interrupt counters.
Revision 1.179 / (download) - annotate - [select for diffs], Sat Feb 5 13:12:07 2011 UTC (2 years, 4 months ago) by mlelstv
Branch: MAIN
Changes since 1.178: +4 -2
lines
Diff to previous 1.178 (colored)
dosum also needs getnlist
Revision 1.178 / (download) - annotate - [select for diffs], Mon Jan 31 19:41:19 2011 UTC (2 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.177: +7 -6
lines
Diff to previous 1.177 (colored)
deal with detecting the first and last cpu differently.
Revision 1.177 / (download) - annotate - [select for diffs], Mon Jan 31 18:56:04 2011 UTC (2 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.176: +3 -2
lines
Diff to previous 1.176 (colored)
Make sure to getnlist in dovmstat
Revision 1.176 / (download) - annotate - [select for diffs], Sat Jan 29 18:10:08 2011 UTC (2 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.175: +169 -84
lines
Diff to previous 1.175 (colored)
Defer nlist processing until we know we need to it. If everything can be obtained via sysctl, we can skip it entirely. This means we can run even if not setgid. getuptime will now use sysctl/clock_gettime if memf is NULL. doevcnt now sues sysctl(kern.evcnt) is memf is NULL. It falls back to groveling if sysctl returns an error of ENOENT. dointr will call doevcnt to evcnt based intr stats.
Revision 1.175 / (download) - annotate - [select for diffs], Sat Dec 25 23:36:59 2010 UTC (2 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Branch point for: bouyer-quota2
Changes since 1.174: +14 -10
lines
Diff to previous 1.174 (colored)
can't play games with structure names since cpu_data refers to cpu_info, so provide our own copy for everything.
Revision 1.174 / (download) - annotate - [select for diffs], Sat Dec 25 20:50:36 2010 UTC (2 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.173: +18 -4
lines
Diff to previous 1.173 (colored)
use a local definition of cpu_info if we have __HAVE_CPU_DATA_FIRST
Revision 1.173 / (download) - annotate - [select for diffs], Sat Dec 25 14:18:37 2010 UTC (2 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.172: +4 -3
lines
Diff to previous 1.172 (colored)
Don't crash on old kernels that don't have the new per cpu counters.
Revision 1.172 / (download) - annotate - [select for diffs], Fri Dec 24 23:39:19 2010 UTC (2 years, 5 months ago) by enami
Branch: MAIN
Changes since 1.171: +3 -2
lines
Diff to previous 1.171 (colored)
We still need to update ouvmexp to output the differene from previous iteration.
Revision 1.171 / (download) - annotate - [select for diffs], Mon Dec 20 04:25:03 2010 UTC (2 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.170: +61 -14
lines
Diff to previous 1.170 (colored)
make this work with the per-cpu counters.
Revision 1.170 / (download) - annotate - [select for diffs], Mon Oct 18 19:39:32 2010 UTC (2 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.169: +19 -25
lines
Diff to previous 1.169 (colored)
simplify and modernize: - make sysctl mibs static - use warn/warnx for warnings makes binary 4K smaller.
Revision 1.169 / (download) - annotate - [select for diffs], Wed Jul 7 11:42:18 2010 UTC (2 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.168: +3 -3
lines
Diff to previous 1.168 (colored)
Make "i" unsigned to mirror change to struct uvm_history
Revision 1.168 / (download) - annotate - [select for diffs], Mon Apr 5 08:03:42 2010 UTC (3 years, 2 months ago) by he
Branch: MAIN
Changes since 1.167: +3 -3
lines
Diff to previous 1.167 (colored)
Follow christos' suggestions, and make ks_active a u_short, and also only use 16 u_shorts instead of 32 ints. Also add panic() calls for under- and overflow of the ks_active members under DIAGNOSTIC. The MAXBUCKET constant ended up in sys/mallocvar.h and not sys/param.h, as the latter caused build problems. Ride the kernel revision bump of my previous change.
Revision 1.167 / (download) - annotate - [select for diffs], Mon Apr 5 07:16:13 2010 UTC (3 years, 2 months ago) by he
Branch: MAIN
Changes since 1.166: +7 -3
lines
Diff to previous 1.166 (colored)
Extend struct malloc_type to count the number of active allocations
per size, and make vmstat report this information under the "Memory
statistics by type" display, which is only printed when the kernel
has been compiled with KMEMSTATS defined, like this:
Memory statistics by type Type Kern
Type InUse MemUse HighUse Limit Requests Limit Limit Size(s)
wapbl 15 4192K 4192K 78644K 376426 0 0 32:0,256:3,512:6,131072:1,262144:2,524288:3
Since struct malloc_type is user-visible and is changed, bump kernel
revision to 5.99.26.
While it is true that malloc(9) is in general on the path of slowly
being replaced by kmem(9) (kmem_alloc/kmem_free), there remains a
lot of points of usage of malloc/free, and this could aid in finding
any leaks. (It helped finding the leak fixed in PR#42661.)
This was discussed with and somewhat hestitantly OKed by rmind@
Revision 1.166 / (download) - annotate - [select for diffs], Wed Oct 21 21:12:07 2009 UTC (3 years, 7 months ago) by rmind
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.165: +6 -11
lines
Diff to previous 1.165 (colored)
Remove uarea swap-out functionality: - Addresses the issue described in PR/38828. - Some simplification in threading and sleepq subsystems. - Eliminates pmap_collect() and, as a side note, allows pmap optimisations. - Eliminates XS_CTL_DATA_ONSTACK in scsipi code. - Avoids few scans on LWP list and thus potentially long holds of proc_lock. - Cuts ~1.5k lines of code. Reduces amd64 kernel size by ~4k. - Removes __SWAP_BROKEN cases. Tested on x86, mips, acorn32 (thanks <mpumford>) and partly tested on acorn26 (thanks to <bjh21>). Discussed on <tech-kern>, reviewed by <ad>.
Revision 1.165 / (download) - annotate - [select for diffs], Sun Jan 18 07:20:00 2009 UTC (4 years, 5 months ago) by lukem
Branch: MAIN
CVS Tags: jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend
Changes since 1.164: +17 -15
lines
Diff to previous 1.164 (colored)
fix -Wsign-compare issues
Revision 1.164 / (download) - annotate - [select for diffs], Fri Nov 28 05:58:22 2008 UTC (4 years, 6 months ago) by dholland
Branch: MAIN
Changes since 1.163: +3 -2
lines
Diff to previous 1.163 (colored)
Add missing fflush() in one of three places that print stuff repeatedly every so often. PR 32836 from Takuro KUBOTA.
Revision 1.163 / (download) - annotate - [select for diffs], Wed Oct 22 11:36:58 2008 UTC (4 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-RC1,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
netbsd-5,
matt-nb5-pq3-base,
matt-nb5-pq3,
matt-nb5-mips64-u2-k2-k4-k7-k8-k9,
matt-nb5-mips64-u1-k1-k5,
matt-nb5-mips64-premerge-20101231,
matt-nb5-mips64-premerge-20091211,
matt-nb5-mips64-k15,
matt-nb4-mips64-k7-u2a-k9b,
matt-mips64-base2
Branch point for: matt-nb5-mips64
Changes since 1.162: +2 -6
lines
Diff to previous 1.162 (colored)
NFS hash tables no longer exist.
Revision 1.162 / (download) - annotate - [select for diffs], Wed Aug 20 18:51:49 2008 UTC (4 years, 10 months ago) by he
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2
Changes since 1.161: +27 -2
lines
Diff to previous 1.161 (colored)
Restore the "pages actige" and "pages inactive" value printouts in "vmstat -s" output when run on the active kernel. The reason we can't easily provide these values out of a crash dump, is that these fields are no longer proper members of struct uvmexp, but rather are estimated by and dependent on the currently active page replacement policy in the kernel.
Revision 1.161 / (download) - annotate - [select for diffs], Mon Jul 21 14:19:27 2008 UTC (4 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.160: +4 -4
lines
Diff to previous 1.160 (colored)
Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
Revision 1.160 / (download) - annotate - [select for diffs], Tue Jun 24 12:47:23 2008 UTC (4 years, 11 months ago) by he
Branch: MAIN
Changes since 1.159: +6 -6
lines
Diff to previous 1.159 (colored)
Fix alignment of fields for "vmstat -m" when KMEMSTATS are available: o Make "prop dictionary" fit in the "Type" coloumn o Ensure that fields don't run into each other (adds a space between fields) o Ensure that a Limit of >100000K fits in the field width
Revision 1.159 / (download) - annotate - [select for diffs], Wed Jun 4 12:47:47 2008 UTC (5 years ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base
Changes since 1.158: +6 -2
lines
Diff to previous 1.158 (colored)
vmstat -s: report cpu pagealloc hits/misses.
Revision 1.158 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:15 2008 UTC (5 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base3,
yamt-pf42-base2,
hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.157: +2 -9
lines
Diff to previous 1.157 (colored)
Remove clause 3 and 4 from TNF licenses
Revision 1.157 / (download) - annotate - [select for diffs], Wed Dec 26 16:01:39 2007 UTC (5 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base
Branch point for: yamt-pf42
Changes since 1.156: +8 -8
lines
Diff to previous 1.156 (colored)
Merge more changes from vmlocking2, mainly: - Locking improvements. - Use pool_cache for more items.
Revision 1.156 / (download) - annotate - [select for diffs], Thu Dec 20 23:49:11 2007 UTC (5 years, 6 months ago) by ad
Branch: MAIN
Changes since 1.155: +13 -12
lines
Diff to previous 1.155 (colored)
- Support two different sizes of pool_cache group. The default has 14 or 15 items, and the new large groups (for busy caches) have 62 or 63 items. - Add PR_LARGECACHE flag as a hint that a pool_cache should use large groups. This should be eventually be tuned at runtime. - Report group size for vmstat -C.
Revision 1.155 / (download) - annotate - [select for diffs], Wed Dec 5 09:20:56 2007 UTC (5 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: cube-autoconf-base,
cube-autoconf
Changes since 1.154: +3 -3
lines
Diff to previous 1.154 (colored)
add -C to usage.
Revision 1.154 / (download) - annotate - [select for diffs], Wed Nov 7 00:24:18 2007 UTC (5 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.153: +76 -53
lines
Diff to previous 1.153 (colored)
Add -C option to display pool_cache info, eg: Pool cache statistics. Name Spin Full Empty PoolLayer CacheLayer Hit% CpuLayer Hit% pipepl 0 1 3 385 42862 99.1 985780 95.7 fdescpl 0 0 2 310 31133 99.0 1029620 97.0 cwdipl 0 0 2 310 31227 99.0 1029714 97.0 filepl 0 1 4 680 141415 99.5 24011135 99.4
Revision 1.153 / (download) - annotate - [select for diffs], Tue Oct 17 15:13:08 2006 UTC (6 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
netbsd-4-base,
netbsd-4-0-RELEASE,
netbsd-4-0-RC5,
netbsd-4-0-RC4,
netbsd-4-0-RC3,
netbsd-4-0-RC2,
netbsd-4-0-RC1,
netbsd-4-0-1-RELEASE,
netbsd-4-0,
netbsd-4,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: matt-armv6
Changes since 1.152: +130 -121
lines
Diff to previous 1.152 (colored)
warns=4, pass lint.
Revision 1.152 / (download) - annotate - [select for diffs], Mon Oct 16 16:44:20 2006 UTC (6 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.151: +9 -8
lines
Diff to previous 1.151 (colored)
use howmany(), instead of open-coding the calculation.
Revision 1.151 / (download) - annotate - [select for diffs], Wed Sep 27 12:35:08 2006 UTC (6 years, 8 months ago) by yamt
Branch: MAIN
Changes since 1.150: +59 -43
lines
Diff to previous 1.150 (colored)
increase a chance to fit within 80 char width consoles. - use PRWORD for dovmstat as well. - reduce number of drives shown by default from 3 to 2.
Revision 1.150 / (download) - annotate - [select for diffs], Fri Sep 15 15:53:42 2006 UTC (6 years, 9 months ago) by yamt
Branch: MAIN
Changes since 1.149: +2 -9
lines
Diff to previous 1.149 (colored)
sync with kernel after yamt-pdpolicy merge.
Revision 1.149 / (download) - annotate - [select for diffs], Tue Aug 15 07:09:12 2006 UTC (6 years, 10 months ago) by kardel
Branch: MAIN
Changes since 1.148: +9 -4
lines
Diff to previous 1.148 (colored)
PR 34205: workaround struct timeval tv_sec not being SUS compliant issue (reported by Takeshi Nakayama)
Revision 1.148 / (download) - annotate - [select for diffs], Fri Jul 21 05:26:53 2006 UTC (6 years, 11 months ago) by simonb
Branch: MAIN
CVS Tags: abandoned-netbsd-4-base
Branch point for: abandoned-netbsd-4
Changes since 1.147: +6 -6
lines
Diff to previous 1.147 (colored)
Dump some column widths.
Revision 1.147 / (download) - annotate - [select for diffs], Sun Jul 9 06:43:16 2006 UTC (6 years, 11 months ago) by kardel
Branch: MAIN
Changes since 1.146: +39 -17
lines
Diff to previous 1.146 (colored)
accept either "time_second" or "time" as kernel timevariable in order to support common userland in enviroments where timecounter kernels and non timecounter kernel co-exist (e.g. xen & i386)
Revision 1.146 / (download) - annotate - [select for diffs], Sat Jul 8 14:58:51 2006 UTC (6 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.145: +3 -3
lines
Diff to previous 1.145 (colored)
include evcnt.h rather than device.h.
Revision 1.145 / (download) - annotate - [select for diffs], Wed Jun 7 20:58:23 2006 UTC (7 years ago) by kardel
Branch: MAIN
CVS Tags: chap-midi-nbase,
chap-midi-base
Changes since 1.144: +16 -8
lines
Diff to previous 1.144 (colored)
support timecounters (struct time gone, use time_second then)
Revision 1.144 / (download) - annotate - [select for diffs], Tue May 2 22:19:12 2006 UTC (7 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: simonb-timecounters-base
Branch point for: chap-midi
Changes since 1.143: +3 -3
lines
Diff to previous 1.143 (colored)
Coverity CID 884: Avoid NULL deref.
Revision 1.143 / (download) - annotate - [select for diffs], Tue May 2 22:13:29 2006 UTC (7 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.142: +4 -4
lines
Diff to previous 1.142 (colored)
Coverity CID 885: Avoid NULL deref.
Revision 1.142 / (download) - annotate - [select for diffs], Tue May 2 21:40:06 2006 UTC (7 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.141: +3 -3
lines
Diff to previous 1.141 (colored)
Coverity CID 886: Avoid NULL deref.
Revision 1.141 / (download) - annotate - [select for diffs], Thu Apr 27 09:04:41 2006 UTC (7 years, 1 month ago) by simonb
Branch: MAIN
Changes since 1.140: +3 -4
lines
Diff to previous 1.140 (colored)
Unwrap a not too long line.
Revision 1.140 / (download) - annotate - [select for diffs], Fri Apr 14 13:12:37 2006 UTC (7 years, 2 months ago) by blymn
Branch: MAIN
Changes since 1.139: +20 -56
lines
Diff to previous 1.139 (colored)
Update statistics reporting to use new kernel framework, rename dkstats* to a more generic name since it no longer just deals with disk.
Revision 1.139 / (download) - annotate - [select for diffs], Sun Feb 5 09:54:50 2006 UTC (7 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.138: +6 -2
lines
Diff to previous 1.138 (colored)
Split dkreadstats() into dkreadstats(), tkreadstats() and cpureadstats(). Similarly for dkswap(). Allows code to only call one of these. Rename struct _disk to _vminfo to be nearer its contents. Change 'systat vm' so that it always shows the 'current' cpu times, even after ':run' or ':boot' commands. The code in vmstat.c doesn't support :run.
Revision 1.138 / (download) - annotate - [select for diffs], Sat Oct 22 15:32:48 2005 UTC (7 years, 7 months ago) by nonaka
Branch: MAIN
Branch point for: simonb-timecounters
Changes since 1.137: +8 -8
lines
Diff to previous 1.137 (colored)
Don't forget original allocated memory address.
Revision 1.137 / (download) - annotate - [select for diffs], Sun Oct 2 17:29:31 2005 UTC (7 years, 8 months ago) by chs
Branch: MAIN
Changes since 1.136: +41 -27
lines
Diff to previous 1.136 (colored)
optimize pool_caches similarly to how I optimized pools before: split the single list of pool cache groups into three lists: completely full, partially full, and completely empty. use LIST instead of TAILQ where appropriate.
Revision 1.136 / (download) - annotate - [select for diffs], Sun Aug 7 12:23:20 2005 UTC (7 years, 10 months ago) by blymn
Branch: MAIN
Changes since 1.135: +39 -2
lines
Diff to previous 1.135 (colored)
Add support for tape statistics.
Revision 1.135 / (download) - annotate - [select for diffs], Thu Jun 2 04:34:57 2005 UTC (8 years ago) by lukem
Branch: MAIN
Changes since 1.134: +7 -4
lines
Diff to previous 1.134 (colored)
appease gcc -Wuninitialized
Revision 1.134 / (download) - annotate - [select for diffs], Mon May 30 23:04:53 2005 UTC (8 years ago) by chs
Branch: MAIN
Changes since 1.133: +3 -3
lines
Diff to previous 1.133 (colored)
rename "kbucket" to "kmembuckets", for greater clarity. don't forget to update vmstat this time.
Revision 1.133 / (download) - annotate - [select for diffs], Sun May 22 14:00:59 2005 UTC (8 years, 1 month ago) by chs
Branch: MAIN
Changes since 1.132: +77 -59
lines
Diff to previous 1.132 (colored)
do not rely on the pre-evcnt interrupt counter kernel symbols being present. if they do not exist, then interrupt stats are all in evcnts.
Revision 1.132 / (download) - annotate - [select for diffs], Sun May 15 08:01:20 2005 UTC (8 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.131: +2 -4
lines
Diff to previous 1.131 (colored)
remove anon related statistics which are no longer used.
Revision 1.131 / (download) - annotate - [select for diffs], Thu Mar 10 16:28:54 2005 UTC (8 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3
Changes since 1.130: +3 -3
lines
Diff to previous 1.130 (colored)
Add -t to usage.
Revision 1.130 / (download) - annotate - [select for diffs], Thu Mar 10 16:23:42 2005 UTC (8 years, 3 months ago) by he
Branch: MAIN
Changes since 1.129: +80 -6
lines
Diff to previous 1.129 (colored)
Add a '-t' option to print the contents of the vmtotal structure, possibly repeatedly.
Revision 1.129 / (download) - annotate - [select for diffs], Sat Feb 26 21:19:18 2005 UTC (8 years, 3 months ago) by dsl
Branch: MAIN
Changes since 1.128: +8 -8
lines
Diff to previous 1.128 (colored)
WARNS=3
Revision 1.128 / (download) - annotate - [select for diffs], Sun Jan 30 23:38:17 2005 UTC (8 years, 4 months ago) by simonb
Branch: MAIN
Changes since 1.127: +2 -3
lines
Diff to previous 1.127 (colored)
Remove a blank line.
Revision 1.127 / (download) - annotate - [select for diffs], Wed Jan 26 13:42:07 2005 UTC (8 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.126: +4 -4
lines
Diff to previous 1.126 (colored)
Sync with manpage (add -W, sort).
Revision 1.126 / (download) - annotate - [select for diffs], Wed Jan 26 13:07:32 2005 UTC (8 years, 4 months ago) by simonb
Branch: MAIN
Changes since 1.125: +61 -32
lines
Diff to previous 1.125 (colored)
Add a "wide" mode output (selected with -W) to show more information about memory pools, including pool page size, flags and utilisation.
Revision 1.125 / (download) - annotate - [select for diffs], Mon Dec 20 08:20:50 2004 UTC (8 years, 6 months ago) by dsainty
Branch: MAIN
Changes since 1.124: +3 -3
lines
Diff to previous 1.124 (colored)
Correct typo in an error message: allocatior -> allocator
Revision 1.124 / (download) - annotate - [select for diffs], Fri Nov 5 19:56:34 2004 UTC (8 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.123: +3 -3
lines
Diff to previous 1.123 (colored)
Add (unsigned char) cast to ctype functions
Revision 1.123 / (download) - annotate - [select for diffs], Fri Oct 15 21:29:03 2004 UTC (8 years, 8 months ago) by enami
Branch: MAIN
Changes since 1.122: +17 -4
lines
Diff to previous 1.122 (colored)
Make vmstat -s prints:
- uvmexp.pdre{anon,file,exec}.
- real number of namecache stats.
Revision 1.122 / (download) - annotate - [select for diffs], Sat Feb 28 05:14:55 2004 UTC (9 years, 3 months ago) by junyoung
Branch: MAIN
CVS Tags: netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2
Changes since 1.121: +11 -20
lines
Diff to previous 1.121 (colored)
pidhash and pgrphash should have been removed from here as well when the new pid allocator was committed 3/2003.
Revision 1.121 / (download) - annotate - [select for diffs], Fri Feb 13 11:36:24 2004 UTC (9 years, 4 months ago) by wiz
Branch: MAIN
Changes since 1.120: +3 -3
lines
Diff to previous 1.120 (colored)
Uppercase CPU, plural is CPUs.
Revision 1.120 / (download) - annotate - [select for diffs], Thu Jan 22 21:47:55 2004 UTC (9 years, 4 months ago) by dbj
Branch: MAIN
Changes since 1.119: +11 -9
lines
Diff to previous 1.119 (colored)
fixes to keep default output under 80 columns reduce default number of disks to 3 from 4 adjust widths of cpu stats if one of them is 100% always put spaces between # of processes runnable (from pr 12691)
Revision 1.119 / (download) - annotate - [select for diffs], Sun Sep 28 23:31:48 2003 UTC (9 years, 8 months ago) by simonb
Branch: MAIN
Changes since 1.118: +3 -3
lines
Diff to previous 1.118 (colored)
Extra columns appeared in one line of the "Memory statistics by type" header in '94 and '97. Grow the other line a little so that it looks pretty again.
Revision 1.118 / (download) - annotate - [select for diffs], Fri Sep 19 07:10:30 2003 UTC (9 years, 9 months ago) by itojun
Branch: MAIN
Changes since 1.117: +6 -5
lines
Diff to previous 1.117 (colored)
realloc pedant
Revision 1.117 / (download) - annotate - [select for diffs], Thu Aug 7 11:17:11 2003 UTC (9 years, 10 months ago) by agc
Branch: MAIN
Changes since 1.116: +3 -7
lines
Diff to previous 1.116 (colored)
Move UCB-licensed code from 4-clause to 3-clause licence. Patches provided by Joel Baker in PR 22365, verified by myself.
Revision 1.116 / (download) - annotate - [select for diffs], Tue Jul 15 05:52:48 2003 UTC (9 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.115: +4 -4
lines
Diff to previous 1.115 (colored)
snprintf
Revision 1.115 / (download) - annotate - [select for diffs], Wed Jul 2 12:47:00 2003 UTC (9 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.114: +3 -3
lines
Diff to previous 1.114 (colored)
No need to cast the third argument of ioctl() to "char *".
Revision 1.114 / (download) - annotate - [select for diffs], Wed Jun 11 17:26:32 2003 UTC (10 years ago) by drochner
Branch: MAIN
Changes since 1.113: +2 -3
lines
Diff to previous 1.113 (colored)
no need to #include <sys/dkstat.h>
Revision 1.113 / (download) - annotate - [select for diffs], Tue May 6 10:10:11 2003 UTC (10 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.112: +5 -4
lines
Diff to previous 1.112 (colored)
Make vmstat -m skip memory pools that have never been used - unless -v given. Update man page to match.
Revision 1.112 / (download) - annotate - [select for diffs], Wed Apr 9 19:02:29 2003 UTC (10 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.111: +14 -4
lines
Diff to previous 1.111 (colored)
Update for cached physical addresses in the pool caches.
Revision 1.111 / (download) - annotate - [select for diffs], Wed Mar 19 11:36:35 2003 UTC (10 years, 3 months ago) by dsl
Branch: MAIN
Changes since 1.110: +2 -10
lines
Diff to previous 1.110 (colored)
Alternative pid/proc allocater, removes all searches associated with pid lookup and allocation, and any dependency on NPROC or MAXUSERS. NO_PID changed to -1 (and renamed NO_PGID) to remove artificial limit on PID_MAX. As discussed on tech-kern.
Revision 1.110 / (download) - annotate - [select for diffs], Sat Feb 1 20:52:58 2003 UTC (10 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.109: +3 -3
lines
Diff to previous 1.109 (colored)
The last NULL entry should not be printed on missing symbols.
Revision 1.109 / (download) - annotate - [select for diffs], Sat Feb 1 06:29:14 2003 UTC (10 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.108: +31 -35
lines
Diff to previous 1.108 (colored)
Update for extensible malloc types.
Revision 1.108 / (download) - annotate - [select for diffs], Thu Dec 12 20:03:32 2002 UTC (10 years, 6 months ago) by atatat
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.107: +3 -3
lines
Diff to previous 1.107 (colored)
The -u option takes an argument, so we need the corresponding : in the getopt() string. Does no one use uvm histories any more, or does everyone just dump all the histories?
Revision 1.107 / (download) - annotate - [select for diffs], Fri Nov 22 13:30:34 2002 UTC (10 years, 7 months ago) by simonb
Branch: MAIN
Changes since 1.106: +2 -43
lines
Diff to previous 1.106 (colored)
Remove pc532-only hacks to access wildly different interrupt accounting now that interrupts are tracked with evcnt(9) on this port.
Revision 1.106 / (download) - annotate - [select for diffs], Thu Nov 21 01:39:15 2002 UTC (10 years, 7 months ago) by simonb
Branch: MAIN
Changes since 1.105: +3 -2
lines
Diff to previous 1.105 (colored)
Include <machine/intr.h> to get "struct iv" (in pc532-specific code).
Revision 1.105 / (download) - annotate - [select for diffs], Mon Nov 18 03:17:24 2002 UTC (10 years, 7 months ago) by nathanw
Branch: MAIN
Changes since 1.104: +9 -6
lines
Diff to previous 1.104 (colored)
In getuptime(), use kread() to get the current time as well as boottime, instead of calling time(3). This makes rate calculations of crash dumps sensible; in contrast, subtracting the boot time of the crash dump from the current time of the running system produces a not-very-meaningful number.
Revision 1.104 / (download) - annotate - [select for diffs], Fri Nov 1 12:47:56 2002 UTC (10 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.103: +8 -6
lines
Diff to previous 1.103 (colored)
iostat(8) and systat(8) support for separate read/write disk statistics. "iostat -x" now shows these (ala linux/solaris), but this is only splitting the read/write bytes/transactions, not adding any new metrics. "systat iostat" now has two new commands to switch between combined/separate mode for both it's numbers & bar modes.
Revision 1.103 / (download) - annotate - [select for diffs], Wed Sep 18 23:24:13 2002 UTC (10 years, 9 months ago) by mycroft
Branch: MAIN
Changes since 1.102: +16 -14
lines
Diff to previous 1.102 (colored)
sleep() -> nanosleep()
Revision 1.102 / (download) - annotate - [select for diffs], Sat Aug 10 19:08:41 2002 UTC (10 years, 10 months ago) by soren
Branch: MAIN
Changes since 1.101: +4 -4
lines
Diff to previous 1.101 (colored)
Print newline before pool stats.
Revision 1.101 / (download) - annotate - [select for diffs], Sun Jun 30 00:10:34 2002 UTC (10 years, 11 months ago) by sommerfeld
Branch: MAIN
Changes since 1.100: +15 -20
lines
Diff to previous 1.100 (colored)
Since the KERN_CP_TIME sysctl reports total clock ticks across all cpus and hz is measured in ticks per cpu, divide tick count by ncpu to determine elapsed time since last sample. Fixes I/O rate deflation observed on multiprocessors.
Revision 1.100 / (download) - annotate - [select for diffs], Wed Mar 13 11:02:11 2002 UTC (11 years, 3 months ago) by simonb
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6
Changes since 1.99: +2 -14
lines
Diff to previous 1.99 (colored)
Don't provide a local declaration of 'struct pool_cache_group' now that it's in <sys/pool.h>.
Revision 1.99 / (download) - annotate - [select for diffs], Mon Mar 11 15:29:22 2002 UTC (11 years, 3 months ago) by enami
Branch: MAIN
Changes since 1.98: +44 -42
lines
Diff to previous 1.98 (colored)
Fix broken indentation.
Revision 1.98 / (download) - annotate - [select for diffs], Sun Mar 10 01:48:25 2002 UTC (11 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.97: +8 -5
lines
Diff to previous 1.97 (colored)
fix pool_allocator fallout. bad boy jason!
Revision 1.97 / (download) - annotate - [select for diffs], Wed Feb 20 07:52:43 2002 UTC (11 years, 4 months ago) by enami
Branch: MAIN
Changes since 1.96: +4 -2
lines
Diff to previous 1.96 (colored)
Don't forget to fetch pool cache group.
Revision 1.96 / (download) - annotate - [select for diffs], Wed Feb 20 07:43:30 2002 UTC (11 years, 4 months ago) by enami
Branch: MAIN
Changes since 1.95: +49 -5
lines
Diff to previous 1.95 (colored)
When printing pool stats, print pool cache stats also if -v is given.
Revision 1.95 / (download) - annotate - [select for diffs], Mon Jan 28 02:15:16 2002 UTC (11 years, 4 months ago) by simonb
Branch: MAIN
Changes since 1.94: +5 -9
lines
Diff to previous 1.94 (colored)
Use the new disk and tty stats sysctls when operating on a live kernel, dk*() don't need to worry about setgid() games anymore.
Revision 1.94 / (download) - annotate - [select for diffs], Sun Dec 9 03:07:58 2001 UTC (11 years, 6 months ago) by chs
Branch: MAIN
Changes since 1.93: +5 -5
lines
Diff to previous 1.93 (colored)
replace "vnode" and "vtext" with "file" and "exec" in uvmexp field names.
Revision 1.93 / (download) - annotate - [select for diffs], Thu Dec 6 03:48:56 2001 UTC (11 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.92: +4 -4
lines
Diff to previous 1.92 (colored)
print average chain length as %8.2f instead of %8d
Revision 1.92 / (download) - annotate - [select for diffs], Thu Nov 29 21:22:25 2001 UTC (11 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.91: +2 -7
lines
Diff to previous 1.91 (colored)
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.
Revision 1.91 / (download) - annotate - [select for diffs], Mon Nov 26 21:04:49 2001 UTC (11 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.90: +7 -5
lines
Diff to previous 1.90 (colored)
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.
Revision 1.90 / (download) - annotate - [select for diffs], Mon Nov 26 14:06:31 2001 UTC (11 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.89: +130 -92
lines
Diff to previous 1.89 (colored)
- 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
Revision 1.89 / (download) - annotate - [select for diffs], Mon Nov 26 10:38:59 2001 UTC (11 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.88: +17 -3
lines
Diff to previous 1.88 (colored)
add stats for nchash & ncvhash
Revision 1.88 / (download) - annotate - [select for diffs], Mon Nov 26 10:18:08 2001 UTC (11 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.87: +75 -36
lines
Diff to previous 1.87 (colored)
- 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
Revision 1.87 / (download) - annotate - [select for diffs], Mon Nov 26 07:40:01 2001 UTC (11 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.86: +306 -176
lines
Diff to previous 1.86 (colored)
- 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
Revision 1.86 / (download) - annotate - [select for diffs], Wed Nov 21 00:40:56 2001 UTC (11 years, 7 months ago) by enami
Branch: MAIN
Changes since 1.85: +4 -4
lines
Diff to previous 1.85 (colored)
Check array boundary correctly.
Revision 1.85 / (download) - annotate - [select for diffs], Wed Nov 21 00:38:50 2001 UTC (11 years, 7 months ago) by enami
Branch: MAIN
Changes since 1.84: +16 -16
lines
Diff to previous 1.84 (colored)
Print evcnt/intrcnt as unsigned.
Revision 1.84 / (download) - annotate - [select for diffs], Sun Oct 7 12:50:54 2001 UTC (11 years, 8 months ago) by bjh21
Branch: MAIN
Changes since 1.83: +14 -4
lines
Diff to previous 1.83 (colored)
When summarizing pool memory usage, account for PR_RECURSIVE pools specially so as to avoid counting the same memory twice.
Revision 1.83 / (download) - annotate - [select for diffs], Sun Aug 26 02:50:37 2001 UTC (11 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.82: +11 -11
lines
Diff to previous 1.82 (colored)
Adjust vmstat -i / -e for wider event names
Revision 1.82 / (download) - annotate - [select for diffs], Wed Jun 13 08:18:30 2001 UTC (12 years ago) by lukem
Branch: MAIN
Changes since 1.81: +3 -3
lines
Diff to previous 1.81 (colored)
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.
Revision 1.81 / (download) - annotate - [select for diffs], Wed May 2 01:26:04 2001 UTC (12 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.80: +5 -4
lines
Diff to previous 1.80 (colored)
Move the number of page colors to the top of the display.
Revision 1.80 / (download) - annotate - [select for diffs], Tue May 1 19:36:58 2001 UTC (12 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.79: +4 -2
lines
Diff to previous 1.79 (colored)
Add the number of page colors to uvmexp.
Revision 1.79 / (download) - annotate - [select for diffs], Sun Apr 29 05:56:47 2001 UTC (12 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.78: +6 -2
lines
Diff to previous 1.78 (colored)
Print print color bucket hit/miss stats.
Revision 1.78 / (download) - annotate - [select for diffs], Thu Apr 5 20:04:03 2001 UTC (12 years, 2 months ago) by jhawk
Branch: MAIN
Changes since 1.77: +35 -20
lines
Diff to previous 1.77 (colored)
Make -c and -w work properly when printing non-default statistics.
Revision 1.77 / (download) - annotate - [select for diffs], Fri Mar 9 02:42:23 2001 UTC (12 years, 3 months ago) by simonb
Branch: MAIN
Changes since 1.76: +3 -2
lines
Diff to previous 1.76 (colored)
Show number of pages used by executables now that they're are counted by UVM.
Revision 1.76 / (download) - annotate - [select for diffs], Sat Jan 27 11:10:18 2001 UTC (12 years, 4 months ago) by enami
Branch: MAIN
Changes since 1.75: +5 -3
lines
Diff to previous 1.75 (colored)
Prevent integer overflow.
Revision 1.75 / (download) - annotate - [select for diffs], Sat Jan 27 11:08:23 2001 UTC (12 years, 4 months ago) by enami
Branch: MAIN
Changes since 1.74: +73 -63
lines
Diff to previous 1.74 (colored)
Cosmetic changes.
Revision 1.74 / (download) - annotate - [select for diffs], Fri Dec 1 02:08:26 2000 UTC (12 years, 6 months ago) by simonb
Branch: MAIN
Changes since 1.73: +2 -11
lines
Diff to previous 1.73 (colored)
Don't "extern" variables and function in dkstats.c, declare them in dkstats.h instead.
Revision 1.73 / (download) - annotate - [select for diffs], Thu Nov 30 23:59:04 2000 UTC (12 years, 6 months ago) by simonb
Branch: MAIN
Changes since 1.72: +45 -58
lines
Diff to previous 1.72 (colored)
ANSIfy.
Revision 1.72 / (download) - annotate - [select for diffs], Thu Nov 30 12:02:19 2000 UTC (12 years, 6 months ago) by simonb
Branch: MAIN
Changes since 1.71: +3 -3
lines
Diff to previous 1.71 (colored)
Use a better description for the vnode page cache pages.
Revision 1.71 / (download) - annotate - [select for diffs], Thu Nov 30 11:50:15 2000 UTC (12 years, 6 months ago) by simonb
Branch: MAIN
Changes since 1.70: +4 -2
lines
Diff to previous 1.70 (colored)
Show anonpages and vnodepages in "vmstat -s".
Revision 1.70 / (download) - annotate - [select for diffs], Thu Sep 28 14:56:52 2000 UTC (12 years, 8 months ago) by sommerfeld
Branch: MAIN
Changes since 1.69: +3 -3
lines
Diff to previous 1.69 (colored)
Move cpu header right 3 spaces to match grouping in man page
Revision 1.69 / (download) - annotate - [select for diffs], Sat Sep 23 00:39:19 2000 UTC (12 years, 8 months ago) by enami
Branch: MAIN
Changes since 1.68: +32 -18
lines
Diff to previous 1.68 (colored)
Make vmstat -m to put at least one space between each numbers.
Revision 1.68 / (download) - annotate - [select for diffs], Thu Sep 21 22:38:28 2000 UTC (12 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.67: +4 -2
lines
Diff to previous 1.67 (colored)
Display number of zero page aborts.
Revision 1.67 / (download) - annotate - [select for diffs], Thu Jun 29 06:29:14 2000 UTC (12 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.66: +6 -5
lines
Diff to previous 1.66 (colored)
remove include of <vm/vm.h>
Revision 1.66 / (download) - annotate - [select for diffs], Sun Jun 4 19:15:21 2000 UTC (13 years ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-5-base,
netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Changes since 1.65: +94 -28
lines
Diff to previous 1.65 (colored)
Implement the more flexiable `evcnt' interface as discussed (briefly) on tech-kern and now documented in evcnt(9).
Revision 1.65 / (download) - annotate - [select for diffs], Sun Jun 4 08:07:36 2000 UTC (13 years ago) by itojun
Branch: MAIN
Changes since 1.64: +16 -18
lines
Diff to previous 1.64 (colored)
cp_time is no longer available in the kernel. remove it from namelist[] to make vmstat work.
Revision 1.64 / (download) - annotate - [select for diffs], Sun Jun 4 02:25:40 2000 UTC (13 years ago) by perry
Branch: MAIN
Changes since 1.63: +3 -2
lines
Diff to previous 1.63 (colored)
include sys/sched.h to get definition of CPUSTATES
Revision 1.63 / (download) - annotate - [select for diffs], Mon Apr 24 17:40:31 2000 UTC (13 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.62: +7 -2
lines
Diff to previous 1.62 (colored)
Print the zero page statistics.
Revision 1.62 / (download) - annotate - [select for diffs], Fri Apr 14 06:11:11 2000 UTC (13 years, 2 months ago) by simonb
Branch: MAIN
Changes since 1.61: +2 -4
lines
Diff to previous 1.61 (colored)
Don't declare 'extern opt*' getopt variables.
Revision 1.61 / (download) - annotate - [select for diffs], Mon Mar 27 17:03:27 2000 UTC (13 years, 2 months ago) by kleink
Branch: MAIN
Changes since 1.60: +4 -3
lines
Diff to previous 1.60 (colored)
Cast timeval members to types we know the printf conversions of.
Revision 1.60 / (download) - annotate - [select for diffs], Sun Dec 5 19:02:29 1999 UTC (13 years, 6 months ago) by fredb
Branch: MAIN
CVS Tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221
Changes since 1.59: +6 -6
lines
Diff to previous 1.59 (colored)
More fallout from CL* purge.
Revision 1.59 / (download) - annotate - [select for diffs], Tue Nov 2 06:23:50 1999 UTC (13 years, 7 months ago) by soren
Branch: MAIN
CVS Tags: comdex-fall-1999-base,
comdex-fall-1999
Changes since 1.58: +9 -9
lines
Diff to previous 1.58 (colored)
Make pool output fit in 80 columns on most machines.
Revision 1.58 / (download) - annotate - [select for diffs], Sat Oct 30 22:49:58 1999 UTC (13 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.57: +24 -34
lines
Diff to previous 1.57 (colored)
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.
Revision 1.57 / (download) - annotate - [select for diffs], Wed Mar 31 23:26:08 1999 UTC (14 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4
Branch point for: wrstuden-devbsize
Changes since 1.56: +4 -2
lines
Diff to previous 1.56 (colored)
Define __POOL_EXPOSE to get at the guts of the pool descriptor.
Revision 1.56 / (download) - annotate - [select for diffs], Wed Mar 24 05:51:32 1999 UTC (14 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.55: +2 -118
lines
Diff to previous 1.55 (colored)
completely remove Mach VM support. all that is left is the all the header files as UVM still uses (most of) these.
Revision 1.55 / (download) - annotate - [select for diffs], Fri Feb 12 15:04:00 1999 UTC (14 years, 4 months ago) by kleink
Branch: MAIN
Changes since 1.54: +3 -3
lines
Diff to previous 1.54 (colored)
<sys/fcntl.h> -> <fcntl.h>
Revision 1.54 / (download) - annotate - [select for diffs], Mon Jan 11 23:03:06 1999 UTC (14 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.53: +4 -4
lines
Diff to previous 1.53 (colored)
Nuke all mentions of vmstat -t. PR #6433, Geoff Wing.
Revision 1.53 / (download) - annotate - [select for diffs], Mon Aug 10 03:11:08 1998 UTC (14 years, 10 months ago) by perry
Branch: MAIN
Changes since 1.52: +6 -6
lines
Diff to previous 1.52 (colored)
bzero->memset, bcopy->memcpy, bcmp->memcmp
Revision 1.52 / (download) - annotate - [select for diffs], Sat Aug 1 23:45:05 1998 UTC (14 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.51: +8 -6
lines
Diff to previous 1.51 (colored)
Display the number of idle pages per pool.
Revision 1.51 / (download) - annotate - [select for diffs], Mon Jul 27 10:26:11 1998 UTC (14 years, 10 months ago) by pk
Branch: MAIN
Changes since 1.50: +83 -6
lines
Diff to previous 1.50 (colored)
Print memory pool statistics.
Revision 1.50 / (download) - annotate - [select for diffs], Sun Jul 26 18:12:46 1998 UTC (14 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.49: +3 -3
lines
Diff to previous 1.49 (colored)
const poisoning.
Revision 1.49 / (download) - annotate - [select for diffs], Sun Jul 19 17:47:08 1998 UTC (14 years, 11 months ago) by drochner
Branch: MAIN
Changes since 1.48: +7 -4
lines
Diff to previous 1.48 (colored)
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.
Revision 1.48 / (download) - annotate - [select for diffs], Mon Jul 6 07:50:20 1998 UTC (14 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.47: +19 -9
lines
Diff to previous 1.47 (colored)
- 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
Revision 1.47 / (download) - annotate - [select for diffs], Sun Jul 5 08:02:34 1998 UTC (14 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.46: +7 -4
lines
Diff to previous 1.46 (colored)
KNF.
Revision 1.46 / (download) - annotate - [select for diffs], Thu Mar 5 02:47:05 1998 UTC (15 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.45: +3 -3
lines
Diff to previous 1.45 (colored)
use the uvmexp.pageins member for "pi".
Revision 1.45 / (download) - annotate - [select for diffs], Fri Feb 13 05:10:32 1998 UTC (15 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.44: +253 -4
lines
Diff to previous 1.44 (colored)
Add support for listing and dumping UVM history buffers.
Revision 1.44 / (download) - annotate - [select for diffs], Mon Feb 9 13:11:26 1998 UTC (15 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.43: +58 -30
lines
Diff to previous 1.43 (colored)
print almost all of uvmexp with -s. do pagein/pageout counts correctly. also include freed pages count (that was missing from mach vm, but present in the "output" but hard coded to 0 in vmstat.c.
Revision 1.43 / (download) - annotate - [select for diffs], Sat Feb 7 16:50:59 1998 UTC (15 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.42: +54 -3
lines
Diff to previous 1.42 (colored)
print out the contents of uvmexp for "vmstat -s"
Revision 1.42 / (download) - annotate - [select for diffs], Sat Feb 7 16:18:14 1998 UTC (15 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.41: +19 -3
lines
Diff to previous 1.41 (colored)
flesh out standard vmstat output with UVM.
Revision 1.41 / (download) - annotate - [select for diffs], Sat Feb 7 15:42:32 1998 UTC (15 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.40: +68 -153
lines
Diff to previous 1.40 (colored)
GC old old old "NEWVM". make run under UVM, if not report everything yet..
Revision 1.40 / (download) - annotate - [select for diffs], Sun Jan 4 03:59:05 1998 UTC (15 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.39: +12 -21
lines
Diff to previous 1.39 (colored)
Revive the -f option: report fork statistics.
Revision 1.39 / (download) - annotate - [select for diffs], Sat Nov 1 06:51:49 1997 UTC (15 years, 7 months ago) by lukem
Branch: MAIN
Changes since 1.38: +3 -3
lines
Diff to previous 1.38 (colored)
getopt returns -1 not EOF
Revision 1.38 / (download) - annotate - [select for diffs], Mon Oct 20 03:11:57 1997 UTC (15 years, 8 months ago) by mrg
Branch: MAIN
CVS Tags: netbsd-1-3-base,
netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA,
netbsd-1-3
Changes since 1.37: +40 -31
lines
Diff to previous 1.37 (colored)
WARNSify; deprecate register; fix some broken fprintf() statements found from WARNS.
Revision 1.37 / (download) - annotate - [select for diffs], Sat Oct 18 14:41:48 1997 UTC (15 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.36: +6 -3
lines
Diff to previous 1.36 (colored)
merge lite-2.
Revision 1.36 / (download) - annotate - [select for diffs], Thu Apr 10 15:49:30 1997 UTC (16 years, 2 months ago) by is
Branch: MAIN
Changes since 1.35: +4 -4
lines
Diff to previous 1.35 (colored)
Repair the formatting of the by-memory-type table of "vmstat -m"
("MSDOSFS mount" is too big for %12s).
Note that this breaks naive parser scripts, but they would not parse
the earlier "MSDOSFS mount" line correctly, anyway.
Revision 1.35 / (download) - annotate - [select for diffs], Thu Apr 10 15:23:50 1997 UTC (16 years, 2 months ago) by is
Branch: MAIN
Changes since 1.34: +9 -3
lines
Diff to previous 1.34 (colored)
"undefined" -> "undef/%d" for memory type names. Similar, but not identical to Ken Raeburns proposal from PR 1012, herewith closed.
Revision 1.34 / (download) - annotate - [select for diffs], Sat Feb 22 02:04:42 1997 UTC (16 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.33: +20 -6
lines
Diff to previous 1.33 (colored)
If kmem stats are not being gathered by the kernel, print a useful message to that effect. Fixes PR #3187, submitted by Guenther Grau <s_grau@ira.uka.de> (fix by me).
Revision 1.33 / (download) - annotate - [select for diffs], Fri Nov 29 19:40:56 1996 UTC (16 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.32: +3 -3
lines
Diff to previous 1.32 (colored)
Compute `halfuptime' correctly when `uptime' == 1. From Lennart Augustsson <augustss@cs.chalmers.se>, PR #2944.
Revision 1.32 / (download) - annotate - [select for diffs], Mon Nov 25 22:55:59 1996 UTC (16 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.31: +12 -13
lines
Diff to previous 1.31 (colored)
print all evcnt structures, not just those which have the name "intr". Printing only those with the name "intr" is too restrictive, because it means that devices can only have one interrupt, which makes little sense for many devices and absolutely no sense for several common busses.
Revision 1.31 / (download) - annotate - [select for diffs], Thu Aug 8 04:11:27 1996 UTC (16 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.30: +21 -25
lines
Diff to previous 1.30 (colored)
Remove straggling references to dk_ndrive and dk_xfer.
Revision 1.30 / (download) - annotate - [select for diffs], Wed Jun 5 00:18:58 1996 UTC (17 years ago) by cgd
Branch: MAIN
Changes since 1.29: +6 -5
lines
Diff to previous 1.29 (colored)
the kernel 'boottime' variable is a timeval. copy it out of kernel memory as such (not as a time_t).
Revision 1.29 / (download) - annotate - [select for diffs], Fri May 10 23:19:32 1996 UTC (17 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-2-base
Branch point for: netbsd-1-2
Changes since 1.28: +57 -80
lines
Diff to previous 1.28 (colored)
New userland code to read the statistics kept by the NetBSD generic disk framework, from John M. Vinopal <banshee@gabriella.resort.com>
Revision 1.28 / (download) - annotate - [select for diffs], Thu Apr 4 00:27:50 1996 UTC (17 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.27: +8 -6
lines
Diff to previous 1.27 (colored)
update for the fact that 'allevents' is now a TAILQ.
Revision 1.27 / (download) - annotate - [select for diffs], Tue Oct 10 01:17:35 1995 UTC (17 years, 8 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-1-base,
netbsd-1-1-RELEASE,
netbsd-1-1-PATCH001,
netbsd-1-1
Changes since 1.26: +6 -6
lines
Diff to previous 1.26 (colored)
print interrupt names in 14 cols. really should be dynamic.
Revision 1.26 / (download) - annotate - [select for diffs], Sun Oct 8 06:54:36 1995 UTC (17 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.25: +3 -2
lines
Diff to previous 1.25 (colored)
don't forget to accumulate interrupt counts found via allevents.
Revision 1.25 / (download) - annotate - [select for diffs], Sun Oct 8 06:39:16 1995 UTC (17 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.24: +3 -3
lines
Diff to previous 1.24 (colored)
fix spacing problem in interrupt/total/rate output line of vmstat -i
Revision 1.24 / (download) - annotate - [select for diffs], Sun Sep 24 06:34:47 1995 UTC (17 years, 9 months ago) by phil
Branch: MAIN
Changes since 1.23: +5 -2
lines
Diff to previous 1.23 (colored)
For the pc532, get struct iv from the protected part of <machine/psl.h>.
Revision 1.23 / (download) - annotate - [select for diffs], Sun Aug 27 06:20:27 1995 UTC (17 years, 9 months ago) by phil
Branch: MAIN
Changes since 1.22: +41 -2
lines
Diff to previous 1.22 (colored)
pc532 specific interrupt code. (From Matthias Pfaller.)
Revision 1.22 / (download) - annotate - [select for diffs], Tue Jun 27 00:40:53 1995 UTC (17 years, 11 months ago) by jtc
Branch: MAIN
Changes since 1.21: +3 -3
lines
Diff to previous 1.21 (colored)
sys/signal.h -> signal.h
Revision 1.21 / (download) - annotate - [select for diffs], Sun May 7 22:16:26 1995 UTC (18 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.20: +7 -2
lines
Diff to previous 1.20 (colored)
fix up RCS ids
Revision 1.20 / (download) - annotate - [select for diffs], Sat Apr 29 05:59:11 1995 UTC (18 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.19: +3 -3
lines
Diff to previous 1.19 (colored)
cast pointers to longs, not ints.
Revision 1.19 / (download) - annotate - [select for diffs], Mon Apr 17 00:00:29 1995 UTC (18 years, 2 months ago) by ragge
Branch: MAIN
Changes since 1.18: +1 -10
lines
Diff to previous 1.18 (colored)
VAX machine dependent defs removed.
Revision 1.18 / (download) - annotate - [select for diffs], Tue Mar 14 07:35:49 1995 UTC (18 years, 3 months ago) by pk
Branch: MAIN
Changes since 1.17: +35 -8
lines
Diff to previous 1.17 (colored)
Make use of the new kernel event counters; from Theo.
Revision 1.17 / (download) - annotate - [select for diffs], Sat Dec 24 17:02:20 1994 UTC (18 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.16: +3 -2
lines
Diff to previous 1.16 (colored)
size is a size_t!
Revision 1.16 / (download) - annotate - [select for diffs], Thu Oct 6 15:54:02 1994 UTC (18 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.15: +2 -2
lines
Diff to previous 1.15 (colored)
Fix RCS id format.
Revision 1.15 / (download) - annotate - [select for diffs], Fri May 13 08:41:12 1994 UTC (19 years, 1 month ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base,
netbsd-1-0-RELEASE,
netbsd-1-0-PATCH1,
netbsd-1-0-PATCH06,
netbsd-1-0-PATCH05,
netbsd-1-0-PATCH04,
netbsd-1-0-PATCH03,
netbsd-1-0-PATCH02,
netbsd-1-0-PATCH0,
netbsd-1-0
Changes since 1.14: +3 -9
lines
Diff to previous 1.14 (colored)
re-enable new bucket foo, also widen type name field by one for miscfs mount
Revision 1.14 / (download) - annotate - [select for diffs], Wed May 11 07:35:58 1994 UTC (19 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.13: +2 -1
lines
Diff to previous 1.13 (colored)
rcsids
Revision 1.13 / (download) - annotate - [select for diffs], Wed May 11 07:34:10 1994 UTC (19 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.12: +222 -174
lines
Diff to previous 1.12 (colored)
clean up import. also, stub read_names for the i386, and comment out some refs to kmem stats fields that we don't have yet. This will need hacking, (1) for the various ports, (2) for the kmem stuff, and won't work completely right until those happen, and until the new vm system is integrated.
Revision 1.12 / (download) - annotate - [select for diffs], Fri Apr 15 07:07:27 1994 UTC (19 years, 2 months ago) by cgd
Branch: MAIN
Changes since 1.11: +84 -125
lines
Diff to previous 1.11 (colored)
clean, exported variable (and contents) changes
Revision 1.11 / (download) - annotate - [select for diffs], Sun Mar 13 03:38:31 1994 UTC (19 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.10: +3 -3
lines
Diff to previous 1.10 (colored)
fix to work with new config. SCSI device name support is totally hosed.
Revision 1.10 / (download) - annotate - [select for diffs], Mon Dec 6 09:22:03 1993 UTC (19 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.9: +8 -8
lines
Diff to previous 1.9 (colored)
get rid of __386BSD__ and replace as appropriate with __NetBSD__ and i386
Revision 1.9 / (download) - annotate - [select for diffs], Wed Nov 10 15:00:41 1993 UTC (19 years, 7 months ago) by deraadt
Branch: MAIN
Changes since 1.8: +8 -5
lines
Diff to previous 1.8 (colored)
some nice new things
Revision 1.8 / (download) - annotate - [select for diffs], Sat Oct 2 03:26:52 1993 UTC (19 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.7: +3 -3
lines
Diff to previous 1.7 (colored)
widen "Type" field of vmstat -m by 2 characters
Revision 1.7 / (download) - annotate - [select for diffs], Mon Aug 23 10:33:07 1993 UTC (19 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.6: +13 -13
lines
Diff to previous 1.6 (colored)
make various vm counters part of the "standard" nlist (for mw)
Revision 1.6 / (download) - annotate - [select for diffs], Sun Aug 1 18:03:21 1993 UTC (19 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.5: +2 -2
lines
Diff to previous 1.5 (colored)
Add RCS identifiers.
Revision 1.5 / (download) - annotate - [select for diffs], Sun Jun 6 17:15:59 1993 UTC (20 years ago) by cgd
Branch: MAIN
CVS Tags: netbsd-0-9-base,
netbsd-0-9-RELEASE,
netbsd-0-9-BETA,
netbsd-0-9-ALPHA2,
netbsd-0-9-ALPHA,
netbsd-0-9
Changes since 1.4: +5 -5
lines
Diff to previous 1.4 (colored)
clean up interrupt count printing a bit...
Revision 1.4 / (download) - annotate - [select for diffs], Tue May 25 18:04:17 1993 UTC (20 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.3: +3 -3
lines
Diff to previous 1.3 (colored)
fix dependencies on M_LAST's old off-by-one error... (arguably, the old error wasn't an error, but, given some of the old usage of M_LAST and its name, i say it was)
Revision 1.3 / (download) - annotate - [select for diffs], Fri May 21 08:53:24 1993 UTC (20 years, 1 month ago) by cgd
Branch: MAIN
Changes since 1.2: +2 -1
lines
Diff to previous 1.2 (colored)
add rcs ids, and update for "arch"
Revision 1.2 / (download) - annotate - [select for diffs], Tue May 4 07:39:27 1993 UTC (20 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.1: +3 -3
lines
Diff to previous 1.1 (colored)
iostat and vmstat being taught about drives..
Revision 1.1 / (download) - annotate - [select for diffs], Fri Apr 9 13:00:38 1993 UTC (20 years, 2 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-alpha-1,
netbsd-0-8
added, from net/2 (patch 124).