Up to [cvs.NetBSD.org] / src / usr.bin / vmstat
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.258 / (download) - annotate - [select for diffs], Sat Sep 9 20:13:54 2023 UTC (6 months, 2 weeks ago) by ad
Branch: MAIN
CVS Tags: HEAD
Changes since 1.257: +4 -9
lines
Diff to previous 1.257 (colored) to selected 1.61 (colored)
uidinfo is an SLIST.
Revision 1.257 / (download) - annotate - [select for diffs], Tue Aug 1 04:20:14 2023 UTC (7 months, 4 weeks ago) by simonb
Branch: MAIN
Changes since 1.256: +30 -24
lines
Diff to previous 1.256 (colored) to selected 1.61 (colored)
For vmstat -mW, add a total KB consumed column and widen a couple of other fields.
Revision 1.256 / (download) - annotate - [select for diffs], Sun Oct 23 23:30:31 2022 UTC (17 months ago) by simonb
Branch: MAIN
CVS Tags: netbsd-10-base,
netbsd-10-0-RELEASE,
netbsd-10-0-RC6,
netbsd-10-0-RC5,
netbsd-10-0-RC4,
netbsd-10-0-RC3,
netbsd-10-0-RC2,
netbsd-10-0-RC1,
netbsd-10
Changes since 1.255: +3 -3
lines
Diff to previous 1.255 (colored) to selected 1.61 (colored)
Remove extraneous "d" in a printf format string in UVM history dump (leftover int format specifier from conversion to FMTd32?).
Revision 1.227.2.2 / (download) - annotate - [select for diffs], Sun Jul 17 12:54:56 2022 UTC (20 months, 1 week ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE
Changes since 1.227.2.1: +7 -6
lines
Diff to previous 1.227.2.1 (colored) to branchpoint 1.227 (colored) next main 1.228 (colored) to selected 1.61 (colored)
Pull up following revision(s) (requested by simonb in ticket #1480): usr.bin/vmstat/vmstat.c: revision 1.255 When operating on core files or /dev/mem when using the -M option, use 64-bit math to calculate pool sizes. Fixes overflow errors for pools larger than 4GB and gives the correct output with "vmstat -m" for in use, total allocation and utilisation numbers.
Revision 1.255 / (download) - annotate - [select for diffs], Sat Jul 16 10:36:19 2022 UTC (20 months, 1 week ago) by simonb
Branch: MAIN
Changes since 1.254: +7 -6
lines
Diff to previous 1.254 (colored) to selected 1.61 (colored)
When operating on core files or /dev/mem when using the -M option, use 64-bit math to calculate pool sizes. Fixes overflow errors for pools larger than 4GB and gives the correct output with "vmstat -m" for in use, total allocation and utilisation numbers.
Revision 1.254 / (download) - annotate - [select for diffs], Sat Jul 16 09:32:27 2022 UTC (20 months, 1 week ago) by simonb
Branch: MAIN
Changes since 1.253: +5 -3
lines
Diff to previous 1.253 (colored) to selected 1.61 (colored)
Move the call to getnlist() to after we check if kvm_openfiles(3) succeeded. Avoids a coredump when called with "vmstat -M /dev/mem".
Revision 1.253 / (download) - annotate - [select for diffs], Thu May 19 13:57:03 2022 UTC (22 months, 1 week ago) by simonb
Branch: MAIN
Changes since 1.252: +34 -34
lines
Diff to previous 1.252 (colored) to selected 1.61 (colored)
Bump some column widths for "vmstat -mW".
Revision 1.252 / (download) - annotate - [select for diffs], Sun Feb 27 19:00:46 2022 UTC (2 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.251: +3 -3
lines
Diff to previous 1.251 (colored) to selected 1.61 (colored)
vmstat: unexport file-scope variable numdisks There is no need to make this variable externally visible. There are several more variables in this file that could be unexported, leave these for someone who knows whether vmstat.c is used by other parts of the tree as well. No functional change, OK mrg.
Revision 1.251 / (download) - annotate - [select for diffs], Wed Feb 9 07:51:45 2022 UTC (2 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.250: +3 -3
lines
Diff to previous 1.250 (colored) to selected 1.61 (colored)
Fix typo in usage.
Revision 1.250 / (download) - annotate - [select for diffs], Wed Feb 9 07:34:18 2022 UTC (2 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.249: +14 -7
lines
Diff to previous 1.249 (colored) to selected 1.61 (colored)
allow the number of disks displayed in the default output to be controlled.
Revision 1.249 / (download) - annotate - [select for diffs], Tue Feb 1 09:18:07 2022 UTC (2 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.248: +26 -7
lines
Diff to previous 1.248 (colored) to selected 1.61 (colored)
when picking which 2 disks to show in the 'vmstat' default output and they haven't been specified on the command line, pick the two devices that have had the largest read+write IO bytes count.
Revision 1.248 / (download) - annotate - [select for diffs], Sat Nov 27 22:16:42 2021 UTC (2 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.247: +4 -4
lines
Diff to previous 1.247 (colored) to selected 1.61 (colored)
usr.bin: remove unnecessary CONSTCOND, lint no longer needs it Since 2021-01-31, lint no longer requires a CONSTCOND comment in a do-while-0 statement since this is a common code pattern, especially in statement-like macros.
Revision 1.247 / (download) - annotate - [select for diffs], Sun Aug 22 22:24:12 2021 UTC (2 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.246: +14 -8
lines
Diff to previous 1.246 (colored) to selected 1.61 (colored)
usr.bin: enable lint checks for most programs in /usr/bin Previously, lint was only activated for the libraries, but not for the kernel or userland programs. Activate lint for the programs in /usr/bin for now, more will follow later. This only affects builds that set MKLINT=yes.
Revision 1.246 / (download) - annotate - [select for diffs], Fri Apr 2 06:28:55 2021 UTC (2 years, 11 months ago) by simonb
Branch: MAIN
CVS Tags: cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x
Changes since 1.245: +27 -51
lines
Diff to previous 1.245 (colored) to selected 1.61 (colored)
Drop setgid kmem, simplify nlist setup.
Revision 1.245 / (download) - annotate - [select for diffs], Thu Apr 1 06:23:14 2021 UTC (2 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.244: +86 -20
lines
Diff to previous 1.244 (colored) to selected 1.61 (colored)
Use kernel sysctl hashstat collection instead of kmem grovelling directly. Also GC a few old hash nlist entries that no longer exist.
Revision 1.244 / (download) - annotate - [select for diffs], Thu Apr 1 05:33:50 2021 UTC (2 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.243: +7 -2
lines
Diff to previous 1.243 (colored) to selected 1.61 (colored)
Now that ports that use legacy intrcnt interrupt accounting have event counters to show that data, for the live kernel case just show INTR events for "vmstat -i".
Revision 1.243 / (download) - annotate - [select for diffs], Wed Mar 3 08:25:16 2021 UTC (3 years ago) by simonb
Branch: MAIN
Changes since 1.242: +16 -4
lines
Diff to previous 1.242 (colored) to selected 1.61 (colored)
For vmstat -h/-H, calculate the hash element size correctly instead of assuming that everything that isn't a list is a tailq. Fixes random reads from kmem that either fail or return incorrect data for the vcache hash table.
Revision 1.227.2.1 / (download) - annotate - [select for diffs], Fri Dec 18 12:23:16 2020 UTC (3 years, 3 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-2-RELEASE
Changes since 1.227: +33 -22
lines
Diff to previous 1.227 (colored) to selected 1.61 (colored)
Pull up following revision(s) (requested by mrg in ticket #1153): usr.bin/vmstat/vmstat.c: revision 1.232 (patch) move the time nlist fetches into their own namelist and only fetch them when necessary. allow for fallback uses of older time sources if others are not present. this stops vmstat from exiting if it can't get the addresses of these time values it often doesn't need (eg, running kernels use the sysctl method), which has cropped up recently wit the removal of boottime variable. a slighly modified version of this patch (modified to handle the old boottime variable over the new one) works against a netbsd-9 vmstat in -current too. XXX: pullup
Revision 1.242 / (download) - annotate - [select for diffs], Sun Jun 14 21:41:42 2020 UTC (3 years, 9 months ago) by ad
Branch: MAIN
Changes since 1.241: +2 -13
lines
Diff to previous 1.241 (colored) to selected 1.61 (colored)
Remove PG_ZERO. It worked brilliantly on x86 machines from the mid-90s but having spent an age experimenting with it over the last 6 months on various machines and with different use cases it's always either break-even or a slight net loss for me.
Revision 1.241 / (download) - annotate - [select for diffs], Sun Jun 14 21:34:25 2020 UTC (3 years, 9 months ago) by ad
Branch: MAIN
Changes since 1.240: +20 -11
lines
Diff to previous 1.240 (colored) to selected 1.61 (colored)
pool_cache: - make all counters per-CPU and make cache layer do its work with atomic ops. - conserve memory by caching empty groups globally.
Revision 1.240 / (download) - annotate - [select for diffs], Thu Jun 11 22:21:05 2020 UTC (3 years, 9 months ago) by ad
Branch: MAIN
Changes since 1.239: +3 -4
lines
Diff to previous 1.239 (colored) to selected 1.61 (colored)
Counter tweaks: - Don't need to count anonpages+filepages any more; clean+unknown+dirty for each kind of page can be summed to get the totals. - Track the number of free pages with a counter so that it's one less thing for the allocator to do, which opens up further options there. - Remove cpu_count_sync_one(). It has no users and doesn't save a whole lot. For the cheap option, give cpu_count_sync() a boolean parameter indicating that a cached value is okay, and rate limit the updates for cached values to hz.
Revision 1.224.4.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:49 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.224.4.2: +1 -0
lines
Diff to previous 1.224.4.2 (colored) to branchpoint 1.224 (colored) next main 1.225 (colored) to selected 1.61 (colored)
Mostly merge changes from HEAD upto 20200411
Revision 1.224.4.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:09:18 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.224.4.1: +83 -47
lines
Diff to previous 1.224.4.1 (colored) to branchpoint 1.224 (colored) to selected 1.61 (colored)
Merge changes from current as of 20200406
Revision 1.239 / (download) - annotate - [select for diffs], Mon Mar 23 18:44:17 2020 UTC (4 years ago) by ad
Branch: MAIN
CVS Tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406
Changes since 1.238: +2 -3
lines
Diff to previous 1.238 (colored) to selected 1.61 (colored)
ncs_collisions is gone.
Revision 1.238 / (download) - annotate - [select for diffs], Sun Mar 22 18:32:42 2020 UTC (4 years ago) by ad
Branch: MAIN
Changes since 1.237: +6 -2
lines
Diff to previous 1.237 (colored) to selected 1.61 (colored)
Process concurrent page faults on individual uvm_objects / vm_amaps in parallel, where the relevant pages are already in-core. Proposed on tech-kern. Temporarily disabled on MP architectures with __HAVE_UNLOCKED_PMAP until adjustments are made to their pmaps.
Revision 1.237 / (download) - annotate - [select for diffs], Sun Mar 22 14:39:28 2020 UTC (4 years ago) by ad
Branch: MAIN
Changes since 1.236: +8 -14
lines
Diff to previous 1.236 (colored) to selected 1.61 (colored)
- nchash is gone. - Report new namecache stats.
Revision 1.236 / (download) - annotate - [select for diffs], Sat Jan 25 05:43:32 2020 UTC (4 years, 2 months ago) by simonb
Branch: MAIN
CVS Tags: is-mlppp-base,
is-mlppp
Changes since 1.235: +6 -6
lines
Diff to previous 1.235 (colored) to selected 1.61 (colored)
Fix alignment of Flags column for vmstat -mW.
Revision 1.235 / (download) - annotate - [select for diffs], Wed Jan 15 17:56:46 2020 UTC (4 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.234: +12 -3
lines
Diff to previous 1.234 (colored) to selected 1.61 (colored)
vmstat -s: report new stats: 0 per-cpu stats one synced 7246 per-cpu stats all synced 4092 anon pages possibly dirty 8881 anon pages dirty 0 anon pages clean 68 file pages possibly dirty 0 file pages dirty 2367889 file pages clean
Revision 1.234 / (download) - annotate - [select for diffs], Wed Jan 8 11:58:02 2020 UTC (4 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.233: +3 -2
lines
Diff to previous 1.233 (colored) to selected 1.61 (colored)
Show reverse misses too.
Revision 1.233 / (download) - annotate - [select for diffs], Mon Jan 6 11:24:30 2020 UTC (4 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.232: +6 -13
lines
Diff to previous 1.232 (colored) to selected 1.61 (colored)
- Report namecache reverse hits with vmstat -s. - ncvhashtbl is no more.
Revision 1.232 / (download) - annotate - [select for diffs], Sat Jan 4 03:09:55 2020 UTC (4 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.231: +33 -22
lines
Diff to previous 1.231 (colored) to selected 1.61 (colored)
move the time nlist fetches into their own namelist and only fetch them when necessary. allow for fallback uses of older time sources if others are not present. this stops vmstat from exiting if it can't get the addresses of these time values it often doesn't need (eg, running kernels use the sysctl method), which has cropped up recently wit the removal of boottime variable. a slighly modified version of this patch (modified to handle the old boottime variable over the new one) works against a netbsd-9 vmstat in -current too. XXX: pullup
Revision 1.231 / (download) - annotate - [select for diffs], Fri Jan 3 19:13:54 2020 UTC (4 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.230: +11 -7
lines
Diff to previous 1.230 (colored) to selected 1.61 (colored)
boottime in the kernel is no more. Instead, read timebasebin and convert from bintime to timespec.
Revision 1.230 / (download) - annotate - [select for diffs], Fri Dec 27 09:45:27 2019 UTC (4 years, 3 months ago) by msaitoh
Branch: MAIN
Changes since 1.229: +3 -3
lines
Diff to previous 1.229 (colored) to selected 1.61 (colored)
s/sucess/success/ in comment.
Revision 1.229 / (download) - annotate - [select for diffs], Sun Dec 22 17:27:53 2019 UTC (4 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.228: +26 -5
lines
Diff to previous 1.228 (colored) to selected 1.61 (colored)
Have vmstat -H report on vcache_hashtab.
Revision 1.228 / (download) - annotate - [select for diffs], Fri Sep 13 13:56:05 2019 UTC (4 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.227: +3 -2
lines
Diff to previous 1.227 (colored) to selected 1.61 (colored)
Expose struct namecache.
Revision 1.216.6.5 / (download) - annotate - [select for diffs], Mon Jul 22 18:10:32 2019 UTC (4 years, 8 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE
Changes since 1.216.6.4: +72 -88
lines
Diff to previous 1.216.6.4 (colored) to branchpoint 1.216 (colored) next main 1.217 (colored) to selected 1.61 (colored)
Pull up following revision(s) (requested by mrg in ticket #1304): usr.bin/vmstat/vmstat.c: revision 1.226 Use PRWORD for printing -m/-mW totals so fields don't run in to each other. While here, update field widths for 'vmstat -mW' for modern machines.
Revision 1.224.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:10:26 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.224: +87 -98
lines
Diff to previous 1.224 (colored) to selected 1.61 (colored)
Sync with HEAD
Revision 1.227 / (download) - annotate - [select for diffs], Thu May 9 08:01:07 2019 UTC (4 years, 10 months ago) by mrg
Branch: MAIN
CVS Tags: phil-wifi-20190609,
netbsd-9-base,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1
Branch point for: netbsd-9
Changes since 1.226: +15 -10
lines
Diff to previous 1.226 (colored) to selected 1.61 (colored)
when dumping a kernhist history replace "%s" with "%p" so that the kernhist in kernel can be a little more usable without making the userland dumping code crash.
Revision 1.226 / (download) - annotate - [select for diffs], Tue Apr 30 23:29:18 2019 UTC (4 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.225: +72 -88
lines
Diff to previous 1.225 (colored) to selected 1.61 (colored)
Use PRWORD for printing -m/-mW totals so fields don't run in to each other. While here, update field widths for 'vmstat -mW' for modern machines.
Revision 1.224.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 14:02:11 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.224: +4 -4
lines
Diff to previous 1.224 (colored) next main 1.225 (colored) to selected 1.61 (colored)
Sync with HEAD, resolve a few conflicts
Revision 1.225 / (download) - annotate - [select for diffs], Thu Dec 13 01:58:04 2018 UTC (5 years, 3 months ago) by sevan
Branch: MAIN
CVS Tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226
Changes since 1.224: +4 -4
lines
Diff to previous 1.224 (colored) to selected 1.61 (colored)
typo
Revision 1.216.6.4 / (download) - annotate - [select for diffs], Tue Mar 6 11:15:33 2018 UTC (6 years ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1
Changes since 1.216.6.3: +7 -4
lines
Diff to previous 1.216.6.3 (colored) to branchpoint 1.216 (colored) to selected 1.61 (colored)
Pull up following revision(s) (requested by nakayama in ticket #606): usr.bin/vmstat/vmstat.c: revision 1.218 Don't print "nan" when there is no disk activity.
Revision 1.224 / (download) - annotate - [select for diffs], Mon Dec 4 03:05:57 2017 UTC (6 years, 3 months ago) by mrg
Branch: MAIN
CVS Tags: phil-wifi-base,
pgoyette-compat-base,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315
Branch point for: phil-wifi,
pgoyette-compat
Changes since 1.223: +4 -4
lines
Diff to previous 1.223 (colored) to selected 1.61 (colored)
deref the right address to get the pool_allocator.
Revision 1.223 / (download) - annotate - [select for diffs], Sun Dec 3 21:10:01 2017 UTC (6 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.222: +4 -4
lines
Diff to previous 1.222 (colored) to selected 1.61 (colored)
remove now wrong comment. minor KNF.
Revision 1.222 / (download) - annotate - [select for diffs], Sun Dec 3 21:09:01 2017 UTC (6 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.221: +11 -7
lines
Diff to previous 1.221 (colored) to selected 1.61 (colored)
fix the kvm version of counting pool pages for vmstat -s.
Revision 1.221 / (download) - annotate - [select for diffs], Sat Dec 2 08:15:43 2017 UTC (6 years, 3 months ago) by mrg
Branch: MAIN
Changes since 1.220: +21 -4
lines
Diff to previous 1.220 (colored) to selected 1.61 (colored)
add two new members to uvmexp_sysctl{}: bootpages and poolpages. bootpages is set to the pages allocated via uvm_pageboot_alloc(). poolpages is calculated from the list of pools nr_pages members. this brings us closer to having a valid total of pages known by the system, vs actual pages originally managed. XXX: poolpages needs some handling for PR_RECURSIVE pools still.
Revision 1.216.6.3 / (download) - annotate - [select for diffs], Mon Nov 6 09:55:56 2017 UTC (6 years, 4 months ago) by snj
Branch: netbsd-8
CVS Tags: matt-nb8-mediatek-base,
matt-nb8-mediatek
Changes since 1.216.6.2: +2 -7
lines
Diff to previous 1.216.6.2 (colored) to branchpoint 1.216 (colored) to selected 1.61 (colored)
Pull up following revision(s) (requested by pgoyette in ticket #343): sys/kern/kern_history.c: revision 1.16 sys/sys/kernhist.h: revision 1.22 usr.bin/vmstat/vmstat.c: revision 1.220 Remove the ABI version-and-length check that was recently introduced; sysctl(9) ABIs should be stable across versions.
Revision 1.220 / (download) - annotate - [select for diffs], Fri Nov 3 22:45:14 2017 UTC (6 years, 4 months ago) by pgoyette
Branch: MAIN
Changes since 1.219: +2 -7
lines
Diff to previous 1.219 (colored) to selected 1.61 (colored)
Remove the ABI version-and-length check that was recently introduced; sysctl(9) ABIs should be stable across versions. XXX Pull-up to -8
Revision 1.216.6.2 / (download) - annotate - [select for diffs], Thu Nov 2 21:29:53 2017 UTC (6 years, 4 months ago) by snj
Branch: netbsd-8
Changes since 1.216.6.1: +18 -10
lines
Diff to previous 1.216.6.1 (colored) to branchpoint 1.216 (colored) to selected 1.61 (colored)
Pull up following revision(s) (requested by pgoyette in ticket #335): share/man/man9/kernhist.9: 1.5-1.8 sys/arch/acorn26/acorn26/pmap.c: 1.39 sys/arch/arm/arm32/fault.c: 1.105 via patch sys/arch/arm/arm32/pmap.c: 1.350, 1.359 sys/arch/arm/broadcom/bcm2835_bsc.c: 1.7 sys/arch/arm/omap/if_cpsw.c: 1.20 sys/arch/arm/omap/tiotg.c: 1.7 sys/arch/evbarm/conf/RPI2_INSTALL: 1.3 sys/dev/ic/sl811hs.c: 1.98 sys/dev/usb/ehci.c: 1.256 sys/dev/usb/if_axe.c: 1.83 sys/dev/usb/motg.c: 1.18 sys/dev/usb/ohci.c: 1.274 sys/dev/usb/ucom.c: 1.119 sys/dev/usb/uhci.c: 1.277 sys/dev/usb/uhub.c: 1.137 sys/dev/usb/umass.c: 1.160-1.162 sys/dev/usb/umass_quirks.c: 1.100 sys/dev/usb/umass_scsipi.c: 1.55 sys/dev/usb/usb.c: 1.168 sys/dev/usb/usb_mem.c: 1.70 sys/dev/usb/usb_subr.c: 1.221 sys/dev/usb/usbdi.c: 1.175 sys/dev/usb/usbdi_util.c: 1.67-1.70 sys/dev/usb/usbroothub.c: 1.3 sys/dev/usb/xhci.c: 1.75 sys/external/bsd/drm2/dist/drm/i915/i915_gem.c: 1.34 sys/kern/kern_history.c: 1.15 sys/kern/kern_xxx.c: 1.74 sys/kern/vfs_bio.c: 1.275-1.276 sys/miscfs/genfs/genfs_io.c: 1.71 sys/sys/kernhist.h: 1.21 sys/ufs/ffs/ffs_balloc.c: 1.63 sys/ufs/lfs/lfs_vfsops.c: 1.361 sys/ufs/lfs/ulfs_inode.c: 1.21 sys/ufs/lfs/ulfs_vnops.c: 1.52 sys/ufs/ufs/ufs_inode.c: 1.102 sys/ufs/ufs/ufs_vnops.c: 1.239 sys/uvm/pmap/pmap.c: 1.37-1.39 sys/uvm/pmap/pmap_tlb.c: 1.22 sys/uvm/uvm_amap.c: 1.108 sys/uvm/uvm_anon.c: 1.64 sys/uvm/uvm_aobj.c: 1.126 sys/uvm/uvm_bio.c: 1.91 sys/uvm/uvm_device.c: 1.66 sys/uvm/uvm_fault.c: 1.201 sys/uvm/uvm_km.c: 1.144 sys/uvm/uvm_loan.c: 1.85 sys/uvm/uvm_map.c: 1.353 sys/uvm/uvm_page.c: 1.194 sys/uvm/uvm_pager.c: 1.111 sys/uvm/uvm_pdaemon.c: 1.109 sys/uvm/uvm_swap.c: 1.175 sys/uvm/uvm_vnode.c: 1.103 usr.bin/vmstat/vmstat.c: 1.219 Reorder to test for null before null deref in debug code -- Reorder to test for null before null deref in debug code -- KNF -- No need for '\n' in UVMHIST_LOG -- normalise a BIOHIST log message -- Update the kernhist(9) kernel history code to address issues identified in PR kern/52639, as well as some general cleaning-up... (As proposed on tech-kern@ with additional changes and enhancements.) Details of changes: * All history arguments are now stored as uintmax_t values[1], both in the kernel and in the structures used for exporting the history data to userland via sysctl(9). This avoids problems on some architectures where passing a 64-bit (or larger) value to printf(3) can cause it to process the value as multiple arguments. (This can be particularly problematic when printf()'s format string is not a literal, since in that case the compiler cannot know how large each argument should be.) * Update the data structures used for exporting kernel history data to include a version number as well as the length of history arguments. * All [2] existing users of kernhist(9) have had their format strings updated. Each format specifier now includes an explicit length modifier 'j' to refer to numeric values of the size of uintmax_t. * All [2] existing users of kernhist(9) have had their format strings updated to replace uses of "%p" with "%#jx", and the pointer arguments are now cast to (uintptr_t) before being subsequently cast to (uintmax_t). This is needed to avoid compiler warnings about casting "pointer to integer of a different size." * All [2] existing users of kernhist(9) have had instances of "%s" or "%c" format strings replaced with numeric formats; several instances of mis-match between format string and argument list have been fixed. * vmstat(1) has been modified to handle the new size of arguments in the history data as exported by sysctl(9). * vmstat(1) now provides a warning message if the history requested with the -u option does not exist (previously, this condition was silently ignored, with only a single blank line being printed). * vmstat(1) now checks the version and argument length included in the data exported via sysctl(9) and exits if they do not match the values with which vmstat was built. * The kernhist(9) man-page has been updated to note the additional requirements imposed on the format strings, along with several other minor changes and enhancements. [1] It would have been possible to use an explicit length (for example, uint64_t) for the history arguments. But that would require another "rototill" of all the users in the future when we add support for an architecture that supports a larger size. Also, the printf(3) format specifiers for explicitly-sized values, such as "%"PRIu64, are much more verbose (and less aesthetically appealing, IMHO) than simply using "%ju". [2] I've tried very hard to find "all [the] existing users of kernhist(9)" but it is possible that I've missed some of them. I would be glad to update any stragglers that anyone identifies. -- For some reason this single kernel seems to have outgrown its declared size as a result of the kernhist(9) changes. Bump the size. XXX The amount of increase may be excessive - anyone with more detailed XXX knowledge please feel free to further adjust the value appropriately. -- Misssed one cast of pointer --> uintptr_t in previous kernhist(9) commit -- And yet another one. :( -- Use correct mark-up for NetBSD version. -- More improvements in grammar and readability. -- Remove a stray '"' (obvious typo) and add a couple of casts that are probably needed. -- And replace an instance of "%p" conversion with "%#jx" -- Whitespace fix. Give Bl tag table a width. Fix Xr.
Revision 1.219 / (download) - annotate - [select for diffs], Sat Oct 28 00:37:12 2017 UTC (6 years, 5 months ago) by pgoyette
Branch: MAIN
Changes since 1.218: +18 -10
lines
Diff to previous 1.218 (colored) to selected 1.61 (colored)
Update the kernhist(9) kernel history code to address issues identified in PR kern/52639, as well as some general cleaning-up... (As proposed on tech-kern@ with additional changes and enhancements.) Details of changes: * All history arguments are now stored as uintmax_t values[1], both in the kernel and in the structures used for exporting the history data to userland via sysctl(9). This avoids problems on some architectures where passing a 64-bit (or larger) value to printf(3) can cause it to process the value as multiple arguments. (This can be particularly problematic when printf()'s format string is not a literal, since in that case the compiler cannot know how large each argument should be.) * Update the data structures used for exporting kernel history data to include a version number as well as the length of history arguments. * All [2] existing users of kernhist(9) have had their format strings updated. Each format specifier now includes an explicit length modifier 'j' to refer to numeric values of the size of uintmax_t. * All [2] existing users of kernhist(9) have had their format strings updated to replace uses of "%p" with "%#jx", and the pointer arguments are now cast to (uintptr_t) before being subsequently cast to (uintmax_t). This is needed to avoid compiler warnings about casting "pointer to integer of a different size." * All [2] existing users of kernhist(9) have had instances of "%s" or "%c" format strings replaced with numeric formats; several instances of mis-match between format string and argument list have been fixed. * vmstat(1) has been modified to handle the new size of arguments in the history data as exported by sysctl(9). * vmstat(1) now provides a warning message if the history requested with the -u option does not exist (previously, this condition was silently ignored, with only a single blank line being printed). * vmstat(1) now checks the version and argument length included in the data exported via sysctl(9) and exits if they do not match the values with which vmstat was built. * The kernhist(9) man-page has been updated to note the additional requirements imposed on the format strings, along with several other minor changes and enhancements. [1] It would have been possible to use an explicit length (for example, uint64_t) for the history arguments. But that would require another "rototill" of all the users in the future when we add support for an architecture that supports a larger size. Also, the printf(3) format specifiers for explicitly-sized values, such as "%"PRIu64, are much more verbose (and less aesthetically appealing, IMHO) than simply using "%ju". [2] I've tried very hard to find "all [the] existing users of kernhist(9)" but it is possible that I've missed some of them. I would be glad to update any stragglers that anyone identifies.
Revision 1.218 / (download) - annotate - [select for diffs], Wed Sep 6 06:05:23 2017 UTC (6 years, 6 months ago) by mlelstv
Branch: MAIN
Changes since 1.217: +7 -4
lines
Diff to previous 1.217 (colored) to selected 1.61 (colored)
Don't print "nan" when there is no disk activity.
Revision 1.216.6.1 / (download) - annotate - [select for diffs], Tue Jul 25 01:43:37 2017 UTC (6 years, 8 months ago) by snj
Branch: netbsd-8
Changes since 1.216: +8 -5
lines
Diff to previous 1.216 (colored) to selected 1.61 (colored)
Pull up following revision(s) (requested by mlelstv in ticket #138): usr.bin/systat/iostat.c: revision 1.38 usr.bin/systat/vmstat.c: revision 1.82 usr.bin/vmstat/drvstats.c: revision 1.11 usr.bin/vmstat/drvstats.h: revision 1.5 usr.bin/vmstat/vmstat.c: revision 1.217 usr.sbin/iostat/iostat.c: revision 1.65 Use I/O timestamps to compute disk statistics for better precision. Disk statistics are collected in a fixed size array, that got corrupted when a disk was detached. Adapt by skipping entries of detached disks and detect reused disknames at the array end. -- Use I/O timestamps to compute disk statistics for better precisison.
Revision 1.217 / (download) - annotate - [select for diffs], Tue Jul 4 21:19:33 2017 UTC (6 years, 8 months ago) by mlelstv
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base,
perseant-stdc-iso10646
Changes since 1.216: +8 -5
lines
Diff to previous 1.216 (colored) to selected 1.61 (colored)
Use I/O timestamps to compute disk statistics for better precision. Disk statistics are collected in a fixed size array, that got corrupted when a disk was detached. Adapt by skipping entries of detached disks and detect reused disknames at the array end.
Revision 1.206.2.2 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:59 2017 UTC (7 years, 2 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.206.2.1: +197 -21
lines
Diff to previous 1.206.2.1 (colored) to branchpoint 1.206 (colored) next main 1.207 (colored) to selected 1.61 (colored)
Sync with HEAD. (Note that most of these changes are simply $NetBSD$ tag issues.)
Revision 1.216 / (download) - annotate - [select for diffs], Thu Jan 5 07:53:20 2017 UTC (7 years, 2 months ago) by ryo
Branch: MAIN
CVS Tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
netbsd-8-base,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: netbsd-8
Changes since 1.215: +64 -18
lines
Diff to previous 1.215 (colored) to selected 1.61 (colored)
"vmstat -ie[v]" auto fit to minimum columns Reviewed by msaitoh@
Revision 1.215 / (download) - annotate - [select for diffs], Thu Jan 5 03:42:27 2017 UTC (7 years, 2 months ago) by pgoyette
Branch: MAIN
Changes since 1.214: +9 -6
lines
Diff to previous 1.214 (colored) to selected 1.61 (colored)
Adapt to use of bintime(9) for kernel history timestamps (7.99.55).
Revision 1.214 / (download) - annotate - [select for diffs], Wed Jan 4 01:29:18 2017 UTC (7 years, 2 months ago) by pgoyette
Branch: MAIN
Changes since 1.213: +7 -8
lines
Diff to previous 1.213 (colored) to selected 1.61 (colored)
Fix error handling confusion between error and errno
Revision 1.213 / (download) - annotate - [select for diffs], Wed Jan 4 01:06:26 2017 UTC (7 years, 2 months ago) by pgoyette
Branch: MAIN
Changes since 1.212: +6 -7
lines
Diff to previous 1.212 (colored) to selected 1.61 (colored)
Adapt to new version of the sysctl export structure
Revision 1.212 / (download) - annotate - [select for diffs], Mon Jan 2 09:24:54 2017 UTC (7 years, 2 months ago) by pgoyette
Branch: MAIN
Changes since 1.211: +4 -4
lines
Diff to previous 1.211 (colored) to selected 1.61 (colored)
Use appropriate PRI* format specifiers for fixed-bit-size numbers Should fix i386 build.
Revision 1.211 / (download) - annotate - [select for diffs], Mon Jan 2 02:08:05 2017 UTC (7 years, 2 months ago) by pgoyette
Branch: MAIN
Changes since 1.210: +5 -2
lines
Diff to previous 1.210 (colored) to selected 1.61 (colored)
For kvm-based kernhist code, print size of history table and "next free" pointer, same as we do for sysctl-based code.
Revision 1.210 / (download) - annotate - [select for diffs], Mon Jan 2 01:48:56 2017 UTC (7 years, 2 months ago) by pgoyette
Branch: MAIN
Changes since 1.209: +175 -49
lines
Diff to previous 1.209 (colored) to selected 1.61 (colored)
Restore the kvm-grovelling code for use on crash files (where sysctl(3) is not available). Otherwise, this would always report on the current running kernel regardless of the use of -M option.
Revision 1.209 / (download) - annotate - [select for diffs], Mon Jan 2 01:02:19 2017 UTC (7 years, 2 months ago) by pgoyette
Branch: MAIN
Changes since 1.208: +77 -77
lines
Diff to previous 1.208 (colored) to selected 1.61 (colored)
For kernel history display, replace the kvm grovelling with the newly available sysctl access to the history data. XXX vmstat still uses kvm for several other displays
Revision 1.206.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:26 2016 UTC (7 years, 4 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.206: +3 -3
lines
Diff to previous 1.206 (colored) to selected 1.61 (colored)
Sync with HEAD
Revision 1.208 / (download) - annotate - [select for diffs], Tue Oct 4 17:36:21 2016 UTC (7 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-20161104
Changes since 1.207: +3 -3
lines
Diff to previous 1.207 (colored) to selected 1.61 (colored)
No point in using float here; makes evbmips64 need __truncdfsf2, and that causes static linking issues because of softfloat.
Revision 1.207 / (download) - annotate - [select for diffs], Mon Sep 5 00:40:30 2016 UTC (7 years, 6 months ago) by sevan
Branch: MAIN
CVS Tags: localcount-20160914
Changes since 1.206: +2 -3
lines
Diff to previous 1.206 (colored) to selected 1.61 (colored)
Drop main() prototype.
Revision 1.206 / (download) - annotate - [select for diffs], Wed Dec 24 20:01:22 2014 UTC (9 years, 3 months ago) by dennis
Branch: MAIN
CVS Tags: pgoyette-localcount-base,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726
Branch point for: pgoyette-localcount
Changes since 1.205: +4 -17
lines
Diff to previous 1.205 (colored) to selected 1.61 (colored)
Update stats-keeping in sys/kern/vfs_cache.c to remove (most) races while allowing consistent lockless sampling of the per-cpu statistics without atomic operations. Update comment describing the locking protocol to include this. These files were fumble-fingered out of the last commit.
Revision 1.203.2.1 / (download) - annotate - [select for diffs], Wed Nov 12 14:14:13 2014 UTC (9 years, 4 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0
Changes since 1.203: +3 -3
lines
Diff to previous 1.203 (colored) next main 1.204 (colored) to selected 1.61 (colored)
Pull up following revision(s) (requested by skrll in ticket #221): usr.bin/vmstat/vmstat.c: revision 1.204 Print the cpu in the kernhist record.
Revision 1.205 / (download) - annotate - [select for diffs], Fri Sep 12 16:25:55 2014 UTC (9 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.204: +3 -3
lines
Diff to previous 1.204 (colored) to selected 1.61 (colored)
Trailing whitespace.
Revision 1.204 / (download) - annotate - [select for diffs], Fri Sep 12 16:25:29 2014 UTC (9 years, 6 months ago) by skrll
Branch: MAIN
Changes since 1.203: +3 -3
lines
Diff to previous 1.203 (colored) to selected 1.61 (colored)
Print the cpu in the kernhist record.
Revision 1.188.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:05:05 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.188: +525 -142
lines
Diff to previous 1.188 (colored) next main 1.189 (colored) to selected 1.61 (colored)
Rebase to HEAD as of a few days ago.
Revision 1.191.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:59:13 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.191: +462 -121
lines
Diff to previous 1.191 (colored) next main 1.192 (colored) to selected 1.61 (colored)
Rebase.
Revision 1.203 / (download) - annotate - [select for diffs], Sat Jul 12 20:04:31 2014 UTC (9 years, 8 months ago) by nakayama
Branch: MAIN
CVS Tags: tls-maxphys-base,
tls-earlyentropy-base,
netbsd-7-base
Branch point for: netbsd-7
Changes since 1.202: +5 -5
lines
Diff to previous 1.202 (colored) to selected 1.61 (colored)
Use u_long to avoid negative value outputs.
Revision 1.202 / (download) - annotate - [select for diffs], Sat Jun 14 04:06:54 2014 UTC (9 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.201: +3 -2
lines
Diff to previous 1.201 (colored) to selected 1.61 (colored)
Init summary counters.
Revision 1.201 / (download) - annotate - [select for diffs], Sat Jun 14 01:26:59 2014 UTC (9 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.200: +4 -3
lines
Diff to previous 1.200 (colored) to selected 1.61 (colored)
Fix format string for ILP32.
Revision 1.200 / (download) - annotate - [select for diffs], Fri Jun 13 19:10:01 2014 UTC (9 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.199: +211 -2
lines
Diff to previous 1.199 (colored) to selected 1.61 (colored)
Use kern.pool for the live system.
Revision 1.199 / (download) - annotate - [select for diffs], Tue Jun 3 21:56:30 2014 UTC (9 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.198: +2 -3
lines
Diff to previous 1.198 (colored) to selected 1.61 (colored)
GC left-over kread.
Revision 1.198 / (download) - annotate - [select for diffs], Tue Jun 3 21:56:03 2014 UTC (9 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.197: +22 -8
lines
Diff to previous 1.197 (colored) to selected 1.61 (colored)
Use CPU statistics from uvmexp when possible.
Revision 1.197 / (download) - annotate - [select for diffs], Tue Jun 3 21:45:41 2014 UTC (9 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.196: +17 -6
lines
Diff to previous 1.196 (colored) to selected 1.61 (colored)
Use kern.clockrate if possible.
Revision 1.196 / (download) - annotate - [select for diffs], Tue Jun 3 21:41:56 2014 UTC (9 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.195: +33 -8
lines
Diff to previous 1.195 (colored) to selected 1.61 (colored)
Convert the remaining uvmexp users to the sysctl as default source.
Revision 1.195 / (download) - annotate - [select for diffs], Tue Jun 3 21:31:54 2014 UTC (9 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.194: +137 -72
lines
Diff to previous 1.194 (colored) to selected 1.61 (colored)
Use vm.uvmexp data as much as possible for vmstat -s. Temporarily disable shadowing warning until the other users are cleaned up.
Revision 1.194 / (download) - annotate - [select for diffs], Tue Jun 3 21:16:15 2014 UTC (9 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.193: +46 -23
lines
Diff to previous 1.193 (colored) to selected 1.61 (colored)
Provide sysctl for namecache statistics.
Revision 1.193 / (download) - annotate - [select for diffs], Mon Jun 2 19:16:10 2014 UTC (9 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.192: +3 -6
lines
Diff to previous 1.192 (colored) to selected 1.61 (colored)
Make missing kern.evcnt an error, don't try to fallback to kmem use.
Revision 1.186.2.6 / (download) - annotate - [select for diffs], Thu May 22 11:42:51 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.186.2.5: +70 -32
lines
Diff to previous 1.186.2.5 (colored) to branchpoint 1.186 (colored) next main 1.187 (colored) to selected 1.61 (colored)
sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
Revision 1.192 / (download) - annotate - [select for diffs], Thu May 8 08:21:53 2014 UTC (9 years, 10 months ago) by hannken
Branch: MAIN
CVS Tags: yamt-pagecache-base9
Changes since 1.191: +2 -6
lines
Diff to previous 1.191 (colored) to selected 1.61 (colored)
Add a global vnode cache: - vcache_get() retrieves a referenced and initialised vnode / fs node pair. - vcache_remove() removes a vnode / fs node pair from the cache. On cache miss vcache_get() calls new vfs operation vfs_loadvnode() to initialise a vnode / fs node pair. This call is guaranteed exclusive, no other thread will try to load this vnode / fs node pair. Convert ufs/ext2fs, ufs/ffs and ufs/mfs to use this interface. Remove now unused ufs/ufs_ihash Discussed on tech-kern. Welcome to 6.99.41
Revision 1.191 / (download) - annotate - [select for diffs], Wed Feb 19 20:42:14 2014 UTC (10 years, 1 month ago) by dsl
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15,
riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.190: +2 -3
lines
Diff to previous 1.190 (colored) to selected 1.61 (colored)
Remove some pointless inclusions os sys/user.h
Revision 1.190 / (download) - annotate - [select for diffs], Sun Nov 24 21:58:38 2013 UTC (10 years, 4 months ago) by rmind
Branch: MAIN
Changes since 1.189: +26 -25
lines
Diff to previous 1.189 (colored) to selected 1.61 (colored)
Remove cpu_queue (and thus eleminate another use of CIRCLEQ) by replacing its uses with cpu_infos array. Extra testing by christos@.
Revision 1.189 / (download) - annotate - [select for diffs], Sun Nov 10 05:16:10 2013 UTC (10 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.188: +46 -4
lines
Diff to previous 1.188 (colored) to selected 1.61 (colored)
add a row with totals for some pool statistics.
Revision 1.186.2.5 / (download) - annotate - [select for diffs], Wed May 23 10:08:28 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.186.2.4: +9 -128
lines
Diff to previous 1.186.2.4 (colored) to branchpoint 1.186 (colored) to selected 1.61 (colored)
sync with head.
Revision 1.188 / (download) - annotate - [select for diffs], Sun Apr 29 16:23:56 2012 UTC (11 years, 11 months ago) by para
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
yamt-pagecache-base5,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
agc-symver-base,
agc-symver
Branch point for: tls-maxphys
Changes since 1.187: +9 -128
lines
Diff to previous 1.187 (colored) to selected 1.61 (colored)
remove malloc(9) output function from vmstat it is not required and working any more
Revision 1.186.2.4 / (download) - annotate - [select for diffs], Tue Apr 17 00:09:41 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.186.2.3: +3 -3
lines
Diff to previous 1.186.2.3 (colored) to branchpoint 1.186 (colored) to selected 1.61 (colored)
sync with head
Revision 1.187 / (download) - annotate - [select for diffs], Tue Mar 20 20:34:59 2012 UTC (12 years ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base4
Changes since 1.186: +3 -3
lines
Diff to previous 1.186 (colored) to selected 1.61 (colored)
Use C89 function definitions
Revision 1.163.6.1 / (download) - annotate - [select for diffs], Thu Feb 9 03:22:58 2012 UTC (12 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.163: +179 -90
lines
Diff to previous 1.163 (colored) next main 1.164 (colored) to selected 1.61 (colored)
Deal with the changes to uvmexp. Use sysctl version when possible.
Revision 1.186.2.3 / (download) - annotate - [select for diffs], Wed Dec 28 13:28:03 2011 UTC (12 years, 3 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.186.2.2: +53 -2
lines
Diff to previous 1.186.2.2 (colored) to branchpoint 1.186 (colored) to selected 1.61 (colored)
page loaning related statistics 6 O->K loan 433958 O->K unloan 0 O->K loan resolved on write to O 0 O->K loan resolved on free of O 1562110 A->K loan 1450785 A->K unloan 108147 A->K loan resolved on write to A 3178 A->K loan resolved on free of A 506926 O->A->K loan 72974 O->A->K unloan 0 O->K loan (zero) 0 O->K unloan (zero) 0 O->A->K loan turned into A->K loan due to write to O 0 O->A->K loan turned into A->K loan due to free of O 50 O->A->K loan turned into O->K loan due to write to A 435568 O->A->K loan turned into O->K loan due to free of A 22761 O->A loan resolved on write to O 602 O->A loan resolved on free of O 1015322 O->A loan resolved on write to A 11431602 O->A loan resolved on free of A 23363 O->A loaned page taken over by anon 12470316 O->A loan for read(2)
Revision 1.186.2.2 / (download) - annotate - [select for diffs], Mon Nov 14 14:27:53 2011 UTC (12 years, 4 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.186.2.1: +4 -4
lines
Diff to previous 1.186.2.1 (colored) to branchpoint 1.186 (colored) to selected 1.61 (colored)
might dirty -> possibly dirty suggested by wiz@
Revision 1.186.2.1 / (download) - annotate - [select for diffs], Sat Nov 12 04:12:52 2011 UTC (12 years, 4 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.186: +14 -2
lines
Diff to previous 1.186 (colored) to selected 1.61 (colored)
report some more statistics. 373597 file pages known clean 225 file pages might dirty 16 file pages known dirty 0 anonymous pages known clean 2218 anonymous pages might dirty 39055 anonymous pages known dirty
Revision 1.186 / (download) - annotate - [select for diffs], Sat Oct 15 21:59:48 2011 UTC (12 years, 5 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-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
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) to selected 1.61 (colored)
use warn instead of perror.
Revision 1.185 / (download) - annotate - [select for diffs], Sat Oct 15 21:06:05 2011 UTC (12 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.184: +22 -34
lines
Diff to previous 1.184 (colored) to selected 1.61 (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 (12 years, 6 months ago) by jym
Branch: MAIN
Changes since 1.183: +3 -4
lines
Diff to previous 1.183 (colored) to selected 1.61 (colored)
Use __arraycount(), as done above.
Revision 1.183 / (download) - annotate - [select for diffs], Tue Sep 6 18:44:46 2011 UTC (12 years, 6 months ago) by joerg
Branch: MAIN
Changes since 1.182: +4 -4
lines
Diff to previous 1.182 (colored) to selected 1.61 (colored)
Mark usage as static and __dead.
Revision 1.182 / (download) - annotate - [select for diffs], Tue Jul 26 13:24:38 2011 UTC (12 years, 8 months ago) by yamt
Branch: MAIN
Changes since 1.181: +7 -5
lines
Diff to previous 1.181 (colored) to selected 1.61 (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 (12 years, 10 months 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) to selected 1.61 (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.175.2.2 / (download) - annotate - [select for diffs], Thu Feb 17 12:00:57 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.175.2.1: +13 -7
lines
Diff to previous 1.175.2.1 (colored) to branchpoint 1.175 (colored) next main 1.176 (colored) to selected 1.61 (colored)
Sync with HEAD
Revision 1.180 / (download) - annotate - [select for diffs], Wed Feb 16 12:58:38 2011 UTC (13 years, 1 month 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) to selected 1.61 (colored)
Fix header, format and total count of system interrupt counters.
Revision 1.175.2.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:20:13 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.175: +177 -88
lines
Diff to previous 1.175 (colored) to selected 1.61 (colored)
Sync with HEAD
Revision 1.179 / (download) - annotate - [select for diffs], Sat Feb 5 13:12:07 2011 UTC (13 years, 1 month ago) by mlelstv
Branch: MAIN
Changes since 1.178: +4 -2
lines
Diff to previous 1.178 (colored) to selected 1.61 (colored)
dosum also needs getnlist
Revision 1.178 / (download) - annotate - [select for diffs], Mon Jan 31 19:41:19 2011 UTC (13 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.177: +7 -6
lines
Diff to previous 1.177 (colored) to selected 1.61 (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 (13 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.176: +3 -2
lines
Diff to previous 1.176 (colored) to selected 1.61 (colored)
Make sure to getnlist in dovmstat
Revision 1.176 / (download) - annotate - [select for diffs], Sat Jan 29 18:10:08 2011 UTC (13 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.175: +169 -84
lines
Diff to previous 1.175 (colored) to selected 1.61 (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 (13 years, 3 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) to selected 1.61 (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 (13 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.173: +18 -4
lines
Diff to previous 1.173 (colored) to selected 1.61 (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 (13 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.172: +4 -3
lines
Diff to previous 1.172 (colored) to selected 1.61 (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 (13 years, 3 months ago) by enami
Branch: MAIN
Changes since 1.171: +3 -2
lines
Diff to previous 1.171 (colored) to selected 1.61 (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 (13 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.170: +61 -14
lines
Diff to previous 1.170 (colored) to selected 1.61 (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 (13 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.169: +19 -25
lines
Diff to previous 1.169 (colored) to selected 1.61 (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 (13 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.168: +3 -3
lines
Diff to previous 1.168 (colored) to selected 1.61 (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 (13 years, 11 months ago) by he
Branch: MAIN
Changes since 1.167: +3 -3
lines
Diff to previous 1.167 (colored) to selected 1.61 (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 (13 years, 11 months ago) by he
Branch: MAIN
Changes since 1.166: +7 -3
lines
Diff to previous 1.166 (colored) to selected 1.61 (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 (14 years, 5 months ago) by rmind
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.165: +6 -11
lines
Diff to previous 1.165 (colored) to selected 1.61 (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 (15 years, 2 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) to selected 1.61 (colored)
fix -Wsign-compare issues
Revision 1.164 / (download) - annotate - [select for diffs], Fri Nov 28 05:58:22 2008 UTC (15 years, 4 months ago) by dholland
Branch: MAIN
Changes since 1.163: +3 -2
lines
Diff to previous 1.163 (colored) to selected 1.61 (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 (15 years, 5 months ago) by matt
Branch: MAIN
CVS Tags: netbsd-5-base,
netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
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-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
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) to selected 1.61 (colored)
NFS hash tables no longer exist.
Revision 1.158.2.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:29:26 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.158.2.1: +33 -8
lines
Diff to previous 1.158.2.1 (colored) to branchpoint 1.158 (colored) next main 1.159 (colored) to selected 1.61 (colored)
Sync with wrstuden-revivesa-base-2.
Revision 1.162 / (download) - annotate - [select for diffs], Wed Aug 20 18:51:49 2008 UTC (15 years, 7 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) to selected 1.61 (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 (15 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.160: +4 -4
lines
Diff to previous 1.160 (colored) to selected 1.61 (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 (15 years, 9 months ago) by he
Branch: MAIN
Changes since 1.159: +6 -6
lines
Diff to previous 1.159 (colored) to selected 1.61 (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.158.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:32:12 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.158: +6 -2
lines
Diff to previous 1.158 (colored) to selected 1.61 (colored)
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.157.4.2 / (download) - annotate - [select for diffs], Tue Jun 17 09:15:21 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.157.4.1: +6 -2
lines
Diff to previous 1.157.4.1 (colored) to branchpoint 1.157 (colored) next main 1.158 (colored) to selected 1.61 (colored)
sync with head.
Revision 1.159 / (download) - annotate - [select for diffs], Wed Jun 4 12:47:47 2008 UTC (15 years, 9 months 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) to selected 1.61 (colored)
vmstat -s: report cpu pagealloc hits/misses.
Revision 1.157.4.1 / (download) - annotate - [select for diffs], Sun May 18 12:36:11 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.157: +2 -9
lines
Diff to previous 1.157 (colored) to selected 1.61 (colored)
sync with head.
Revision 1.158 / (download) - annotate - [select for diffs], Mon Apr 28 20:24:15 2008 UTC (15 years, 11 months 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) to selected 1.61 (colored)
Remove clause 3 and 4 from TNF licenses
Revision 1.153.8.2 / (download) - annotate - [select for diffs], Wed Jan 9 02:01:26 2008 UTC (16 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.153.8.1: +18 -17
lines
Diff to previous 1.153.8.1 (colored) to branchpoint 1.153 (colored) next main 1.154 (colored) to selected 1.61 (colored)
sync with HEAD
Revision 1.157 / (download) - annotate - [select for diffs], Wed Dec 26 16:01:39 2007 UTC (16 years, 3 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) to selected 1.61 (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 (16 years, 3 months ago) by ad
Branch: MAIN
Changes since 1.155: +13 -12
lines
Diff to previous 1.155 (colored) to selected 1.61 (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 (16 years, 3 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) to selected 1.61 (colored)
add -C to usage.
Revision 1.153.8.1 / (download) - annotate - [select for diffs], Thu Nov 8 11:46:05 2007 UTC (16 years, 4 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.153: +76 -53
lines
Diff to previous 1.153 (colored) to selected 1.61 (colored)
sync with HEAD
Revision 1.154 / (download) - annotate - [select for diffs], Wed Nov 7 00:24:18 2007 UTC (16 years, 4 months ago) by ad
Branch: MAIN
Changes since 1.153: +76 -53
lines
Diff to previous 1.153 (colored) to selected 1.61 (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 (17 years, 5 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) to selected 1.61 (colored)
warns=4, pass lint.
Revision 1.152 / (download) - annotate - [select for diffs], Mon Oct 16 16:44:20 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.151: +9 -8
lines
Diff to previous 1.151 (colored) to selected 1.61 (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 (17 years, 6 months ago) by yamt
Branch: MAIN
Changes since 1.150: +59 -43
lines
Diff to previous 1.150 (colored) to selected 1.61 (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 (17 years, 6 months ago) by yamt
Branch: MAIN
Changes since 1.149: +2 -9
lines
Diff to previous 1.149 (colored) to selected 1.61 (colored)
sync with kernel after yamt-pdpolicy merge.
Revision 1.148.2.1 / (download) - annotate - [select for diffs], Wed Aug 16 12:41:41 2006 UTC (17 years, 7 months ago) by tron
Branch: abandoned-netbsd-4
Changes since 1.148: +9 -4
lines
Diff to previous 1.148 (colored) next main 1.149 (colored) to selected 1.61 (colored)
Pull up following revision(s) (requested by kardel in ticket #29): usr.bin/vmstat/vmstat.c: revision 1.149 PR 34205: workaround struct timeval tv_sec not being SUS compliant issue (reported by Takeshi Nakayama)
Revision 1.149 / (download) - annotate - [select for diffs], Tue Aug 15 07:09:12 2006 UTC (17 years, 7 months ago) by kardel
Branch: MAIN
Changes since 1.148: +9 -4
lines
Diff to previous 1.148 (colored) to selected 1.61 (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 (17 years, 8 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) to selected 1.61 (colored)
Dump some column widths.
Revision 1.147 / (download) - annotate - [select for diffs], Sun Jul 9 06:43:16 2006 UTC (17 years, 8 months ago) by kardel
Branch: MAIN
Changes since 1.146: +39 -17
lines
Diff to previous 1.146 (colored) to selected 1.61 (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 (17 years, 8 months ago) by yamt
Branch: MAIN
Changes since 1.145: +3 -3
lines
Diff to previous 1.145 (colored) to selected 1.61 (colored)
include evcnt.h rather than device.h.
Revision 1.144.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 04:17:07 2006 UTC (17 years, 9 months ago) by chap
Branch: chap-midi
Changes since 1.144: +16 -8
lines
Diff to previous 1.144 (colored) next main 1.145 (colored) to selected 1.61 (colored)
Sync with head.
Revision 1.145 / (download) - annotate - [select for diffs], Wed Jun 7 20:58:23 2006 UTC (17 years, 9 months 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) to selected 1.61 (colored)
support timecounters (struct time gone, use time_second then)
Revision 1.138.2.4 / (download) - annotate - [select for diffs], Thu Jun 1 21:38:40 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.138.2.3: +7 -8
lines
Diff to previous 1.138.2.3 (colored) next main 1.139 (colored) to selected 1.61 (colored)
Sync with head.
Revision 1.144 / (download) - annotate - [select for diffs], Tue May 2 22:19:12 2006 UTC (17 years, 11 months 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) to selected 1.61 (colored)
Coverity CID 884: Avoid NULL deref.
Revision 1.143 / (download) - annotate - [select for diffs], Tue May 2 22:13:29 2006 UTC (17 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.142: +4 -4
lines
Diff to previous 1.142 (colored) to selected 1.61 (colored)
Coverity CID 885: Avoid NULL deref.
Revision 1.142 / (download) - annotate - [select for diffs], Tue May 2 21:40:06 2006 UTC (17 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.141: +3 -3
lines
Diff to previous 1.141 (colored) to selected 1.61 (colored)
Coverity CID 886: Avoid NULL deref.
Revision 1.141 / (download) - annotate - [select for diffs], Thu Apr 27 09:04:41 2006 UTC (17 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.140: +3 -4
lines
Diff to previous 1.140 (colored) to selected 1.61 (colored)
Unwrap a not too long line.
Revision 1.138.2.3 / (download) - annotate - [select for diffs], Sat Apr 22 02:54:47 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.138.2.2: +24 -56
lines
Diff to previous 1.138.2.2 (colored) to selected 1.61 (colored)
Sync with head.
Revision 1.140 / (download) - annotate - [select for diffs], Fri Apr 14 13:12:37 2006 UTC (17 years, 11 months ago) by blymn
Branch: MAIN
Changes since 1.139: +20 -56
lines
Diff to previous 1.139 (colored) to selected 1.61 (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.138.2.2 / (download) - annotate - [select for diffs], Tue Feb 28 21:09:32 2006 UTC (18 years, 1 month ago) by kardel
Branch: simonb-timecounters
Changes since 1.138.2.1: +4 -4
lines
Diff to previous 1.138.2.1 (colored) to selected 1.61 (colored)
support __HAVE_TIMECOUNTER kernels
Revision 1.139 / (download) - annotate - [select for diffs], Sun Feb 5 09:54:50 2006 UTC (18 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.138: +6 -2
lines
Diff to previous 1.138 (colored) to selected 1.61 (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.2.1 / (download) - annotate - [select for diffs], Sat Feb 4 15:53:52 2006 UTC (18 years, 1 month ago) by simonb
Branch: simonb-timecounters
Changes since 1.138: +15 -7
lines
Diff to previous 1.138 (colored) to selected 1.61 (colored)
If we have timecounters, read time_second from the kernel for the current time instead of the time variable.
Revision 1.138 / (download) - annotate - [select for diffs], Sat Oct 22 15:32:48 2005 UTC (18 years, 5 months ago) by nonaka
Branch: MAIN
Branch point for: simonb-timecounters
Changes since 1.137: +8 -8
lines
Diff to previous 1.137 (colored) to selected 1.61 (colored)
Don't forget original allocated memory address.
Revision 1.137 / (download) - annotate - [select for diffs], Sun Oct 2 17:29:31 2005 UTC (18 years, 6 months ago) by chs
Branch: MAIN
Changes since 1.136: +41 -27
lines
Diff to previous 1.136 (colored) to selected 1.61 (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 (18 years, 7 months ago) by blymn
Branch: MAIN
Changes since 1.135: +39 -2
lines
Diff to previous 1.135 (colored) to selected 1.61 (colored)
Add support for tape statistics.
Revision 1.135 / (download) - annotate - [select for diffs], Thu Jun 2 04:34:57 2005 UTC (18 years, 10 months ago) by lukem
Branch: MAIN
Changes since 1.134: +7 -4
lines
Diff to previous 1.134 (colored) to selected 1.61 (colored)
appease gcc -Wuninitialized
Revision 1.134 / (download) - annotate - [select for diffs], Mon May 30 23:04:53 2005 UTC (18 years, 10 months ago) by chs
Branch: MAIN
Changes since 1.133: +3 -3
lines
Diff to previous 1.133 (colored) to selected 1.61 (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 (18 years, 10 months ago) by chs
Branch: MAIN
Changes since 1.132: +77 -59
lines
Diff to previous 1.132 (colored) to selected 1.61 (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 (18 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.131: +2 -4
lines
Diff to previous 1.131 (colored) to selected 1.61 (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 (19 years 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) to selected 1.61 (colored)
Add -t to usage.
Revision 1.130 / (download) - annotate - [select for diffs], Thu Mar 10 16:23:42 2005 UTC (19 years ago) by he
Branch: MAIN
Changes since 1.129: +80 -6
lines
Diff to previous 1.129 (colored) to selected 1.61 (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 (19 years, 1 month ago) by dsl
Branch: MAIN
Changes since 1.128: +8 -8
lines
Diff to previous 1.128 (colored) to selected 1.61 (colored)
WARNS=3
Revision 1.128 / (download) - annotate - [select for diffs], Sun Jan 30 23:38:17 2005 UTC (19 years, 2 months ago) by simonb
Branch: MAIN
Changes since 1.127: +2 -3
lines
Diff to previous 1.127 (colored) to selected 1.61 (colored)
Remove a blank line.
Revision 1.127 / (download) - annotate - [select for diffs], Wed Jan 26 13:42:07 2005 UTC (19 years, 2 months ago) by wiz
Branch: MAIN
Changes since 1.126: +4 -4
lines
Diff to previous 1.126 (colored) to selected 1.61 (colored)
Sync with manpage (add -W, sort).
Revision 1.126 / (download) - annotate - [select for diffs], Wed Jan 26 13:07:32 2005 UTC (19 years, 2 months ago) by simonb
Branch: MAIN
Changes since 1.125: +61 -32
lines
Diff to previous 1.125 (colored) to selected 1.61 (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 (19 years, 3 months ago) by dsainty
Branch: MAIN
Changes since 1.124: +3 -3
lines
Diff to previous 1.124 (colored) to selected 1.61 (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 (19 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.123: +3 -3
lines
Diff to previous 1.123 (colored) to selected 1.61 (colored)
Add (unsigned char) cast to ctype functions
Revision 1.123 / (download) - annotate - [select for diffs], Fri Oct 15 21:29:03 2004 UTC (19 years, 5 months ago) by enami
Branch: MAIN
Changes since 1.122: +17 -4
lines
Diff to previous 1.122 (colored) to selected 1.61 (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 (20 years, 1 month 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) to selected 1.61 (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 (20 years, 1 month ago) by wiz
Branch: MAIN
Changes since 1.120: +3 -3
lines
Diff to previous 1.120 (colored) to selected 1.61 (colored)
Uppercase CPU, plural is CPUs.
Revision 1.120 / (download) - annotate - [select for diffs], Thu Jan 22 21:47:55 2004 UTC (20 years, 2 months ago) by dbj
Branch: MAIN
Changes since 1.119: +11 -9
lines
Diff to previous 1.119 (colored) to selected 1.61 (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.100.2.3 / (download) - annotate - [select for diffs], Thu Oct 2 09:37:52 2003 UTC (20 years, 6 months ago) by tron
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002
Changes since 1.100.2.2: +3 -3
lines
Diff to previous 1.100.2.2 (colored) to branchpoint 1.100 (colored) next main 1.101 (colored) to selected 1.61 (colored)
Pull up revision 1.119 (requested by simonb in ticket #1487): 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.119 / (download) - annotate - [select for diffs], Sun Sep 28 23:31:48 2003 UTC (20 years, 6 months ago) by simonb
Branch: MAIN
Changes since 1.118: +3 -3
lines
Diff to previous 1.118 (colored) to selected 1.61 (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 (20 years, 6 months ago) by itojun
Branch: MAIN
Changes since 1.117: +6 -5
lines
Diff to previous 1.117 (colored) to selected 1.61 (colored)
realloc pedant
Revision 1.117 / (download) - annotate - [select for diffs], Thu Aug 7 11:17:11 2003 UTC (20 years, 7 months ago) by agc
Branch: MAIN
Changes since 1.116: +3 -7
lines
Diff to previous 1.116 (colored) to selected 1.61 (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 (20 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.115: +4 -4
lines
Diff to previous 1.115 (colored) to selected 1.61 (colored)
snprintf
Revision 1.115 / (download) - annotate - [select for diffs], Wed Jul 2 12:47:00 2003 UTC (20 years, 9 months ago) by simonb
Branch: MAIN
Changes since 1.114: +3 -3
lines
Diff to previous 1.114 (colored) to selected 1.61 (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 (20 years, 9 months ago) by drochner
Branch: MAIN
Changes since 1.113: +2 -3
lines
Diff to previous 1.113 (colored) to selected 1.61 (colored)
no need to #include <sys/dkstat.h>
Revision 1.113 / (download) - annotate - [select for diffs], Tue May 6 10:10:11 2003 UTC (20 years, 10 months ago) by dsl
Branch: MAIN
Changes since 1.112: +5 -4
lines
Diff to previous 1.112 (colored) to selected 1.61 (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 (20 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.111: +14 -4
lines
Diff to previous 1.111 (colored) to selected 1.61 (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 (21 years ago) by dsl
Branch: MAIN
Changes since 1.110: +2 -10
lines
Diff to previous 1.110 (colored) to selected 1.61 (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 (21 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.109: +3 -3
lines
Diff to previous 1.109 (colored) to selected 1.61 (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 (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.108: +31 -35
lines
Diff to previous 1.108 (colored) to selected 1.61 (colored)
Update for extensible malloc types.
Revision 1.100.2.2 / (download) - annotate - [select for diffs], Thu Dec 12 22:12:09 2002 UTC (21 years, 3 months ago) by he
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001
Changes since 1.100.2.1: +9 -6
lines
Diff to previous 1.100.2.1 (colored) to branchpoint 1.100 (colored) to selected 1.61 (colored)
Pull up revision 1.105 (requested by nathanw in ticket #999): In getuptime(), use kread() instead of time(3) to get the current time and boottime. This makes rate calculations of crash dumps sensible.
Revision 1.108 / (download) - annotate - [select for diffs], Thu Dec 12 20:03:32 2002 UTC (21 years, 3 months ago) by atatat
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.107: +3 -3
lines
Diff to previous 1.107 (colored) to selected 1.61 (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 (21 years, 4 months ago) by simonb
Branch: MAIN
Changes since 1.106: +2 -43
lines
Diff to previous 1.106 (colored) to selected 1.61 (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 (21 years, 4 months ago) by simonb
Branch: MAIN
Changes since 1.105: +3 -2
lines
Diff to previous 1.105 (colored) to selected 1.61 (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 (21 years, 4 months ago) by nathanw
Branch: MAIN
Changes since 1.104: +9 -6
lines
Diff to previous 1.104 (colored) to selected 1.61 (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 (21 years, 5 months ago) by mrg
Branch: MAIN
Changes since 1.103: +8 -6
lines
Diff to previous 1.103 (colored) to selected 1.61 (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 (21 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.102: +16 -14
lines
Diff to previous 1.102 (colored) to selected 1.61 (colored)
sleep() -> nanosleep()
Revision 1.102 / (download) - annotate - [select for diffs], Sat Aug 10 19:08:41 2002 UTC (21 years, 7 months ago) by soren
Branch: MAIN
Changes since 1.101: +4 -4
lines
Diff to previous 1.101 (colored) to selected 1.61 (colored)
Print newline before pool stats.
Revision 1.100.2.1 / (download) - annotate - [select for diffs], Sun Jun 30 05:47:55 2002 UTC (21 years, 9 months ago) by lukem
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1
Changes since 1.100: +15 -20
lines
Diff to previous 1.100 (colored) to selected 1.61 (colored)
Pull up revision 1.101 (requested by sommerfeld in ticket #406): 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.101 / (download) - annotate - [select for diffs], Sun Jun 30 00:10:34 2002 UTC (21 years, 9 months ago) by sommerfeld
Branch: MAIN
Changes since 1.100: +15 -20
lines
Diff to previous 1.100 (colored) to selected 1.61 (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 (22 years 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) to selected 1.61 (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 (22 years ago) by enami
Branch: MAIN
Changes since 1.98: +44 -42
lines
Diff to previous 1.98 (colored) to selected 1.61 (colored)
Fix broken indentation.
Revision 1.98 / (download) - annotate - [select for diffs], Sun Mar 10 01:48:25 2002 UTC (22 years ago) by christos
Branch: MAIN
Changes since 1.97: +8 -5
lines
Diff to previous 1.97 (colored) to selected 1.61 (colored)
fix pool_allocator fallout. bad boy jason!
Revision 1.97 / (download) - annotate - [select for diffs], Wed Feb 20 07:52:43 2002 UTC (22 years, 1 month ago) by enami
Branch: MAIN
Changes since 1.96: +4 -2
lines
Diff to previous 1.96 (colored) to selected 1.61 (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 (22 years, 1 month ago) by enami
Branch: MAIN
Changes since 1.95: +49 -5
lines
Diff to previous 1.95 (colored) to selected 1.61 (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 (22 years, 2 months ago) by simonb
Branch: MAIN
Changes since 1.94: +5 -9
lines
Diff to previous 1.94 (colored) to selected 1.61 (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 (22 years, 3 months ago) by chs
Branch: MAIN
Changes since 1.93: +5 -5
lines
Diff to previous 1.93 (colored) to selected 1.61 (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 (22 years, 3 months ago) by lukem
Branch: MAIN
Changes since 1.92: +4 -4
lines
Diff to previous 1.92 (colored) to selected 1.61 (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 (22 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.91: +2 -7
lines
Diff to previous 1.91 (colored) to selected 1.61 (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 (22 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.90: +7 -5
lines
Diff to previous 1.90 (colored) to selected 1.61 (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 (22 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.89: +130 -92
lines
Diff to previous 1.89 (colored) to selected 1.61 (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 (22 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.88: +17 -3
lines
Diff to previous 1.88 (colored) to selected 1.61 (colored)
add stats for nchash & ncvhash
Revision 1.88 / (download) - annotate - [select for diffs], Mon Nov 26 10:18:08 2001 UTC (22 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.87: +75 -36
lines
Diff to previous 1.87 (colored) to selected 1.61 (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 (22 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.86: +306 -176
lines
Diff to previous 1.86 (colored) to selected 1.61 (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 (22 years, 4 months ago) by enami
Branch: MAIN
Changes since 1.85: +4 -4
lines
Diff to previous 1.85 (colored) to selected 1.61 (colored)
Check array boundary correctly.
Revision 1.85 / (download) - annotate - [select for diffs], Wed Nov 21 00:38:50 2001 UTC (22 years, 4 months ago) by enami
Branch: MAIN
Changes since 1.84: +16 -16
lines
Diff to previous 1.84 (colored) to selected 1.61 (colored)
Print evcnt/intrcnt as unsigned.
Revision 1.66.2.2 / (download) - annotate - [select for diffs], Thu Nov 15 23:25:54 2001 UTC (22 years, 4 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003
Changes since 1.66.2.1: +3 -3
lines
Diff to previous 1.66.2.1 (colored) to branchpoint 1.66 (colored) next main 1.67 (colored) to selected 1.61 (colored)
Pull up revision 1.82 (requested by lukem): Change memory display to prevent results from running into each other.
Revision 1.84 / (download) - annotate - [select for diffs], Sun Oct 7 12:50:54 2001 UTC (22 years, 5 months ago) by bjh21
Branch: MAIN
Changes since 1.83: +14 -4
lines
Diff to previous 1.83 (colored) to selected 1.61 (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 (22 years, 7 months ago) by matt
Branch: MAIN
Changes since 1.82: +11 -11
lines
Diff to previous 1.82 (colored) to selected 1.61 (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 (22 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.81: +3 -3
lines
Diff to previous 1.81 (colored) to selected 1.61 (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 (22 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.80: +5 -4
lines
Diff to previous 1.80 (colored) to selected 1.61 (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 (22 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.79: +4 -2
lines
Diff to previous 1.79 (colored) to selected 1.61 (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 (22 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.78: +6 -2
lines
Diff to previous 1.78 (colored) to selected 1.61 (colored)
Print print color bucket hit/miss stats.
Revision 1.78 / (download) - annotate - [select for diffs], Thu Apr 5 20:04:03 2001 UTC (22 years, 11 months ago) by jhawk
Branch: MAIN
Changes since 1.77: +35 -20
lines
Diff to previous 1.77 (colored) to selected 1.61 (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 (23 years ago) by simonb
Branch: MAIN
Changes since 1.76: +3 -2
lines
Diff to previous 1.76 (colored) to selected 1.61 (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 (23 years, 2 months ago) by enami
Branch: MAIN
Changes since 1.75: +5 -3
lines
Diff to previous 1.75 (colored) to selected 1.61 (colored)
Prevent integer overflow.
Revision 1.75 / (download) - annotate - [select for diffs], Sat Jan 27 11:08:23 2001 UTC (23 years, 2 months ago) by enami
Branch: MAIN
Changes since 1.74: +73 -63
lines
Diff to previous 1.74 (colored) to selected 1.61 (colored)
Cosmetic changes.
Revision 1.74 / (download) - annotate - [select for diffs], Fri Dec 1 02:08:26 2000 UTC (23 years, 4 months ago) by simonb
Branch: MAIN
Changes since 1.73: +2 -11
lines
Diff to previous 1.73 (colored) to selected 1.61 (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 (23 years, 4 months ago) by simonb
Branch: MAIN
Changes since 1.72: +45 -58
lines
Diff to previous 1.72 (colored) to selected 1.61 (colored)
ANSIfy.
Revision 1.72 / (download) - annotate - [select for diffs], Thu Nov 30 12:02:19 2000 UTC (23 years, 4 months ago) by simonb
Branch: MAIN
Changes since 1.71: +3 -3
lines
Diff to previous 1.71 (colored) to selected 1.61 (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 (23 years, 4 months ago) by simonb
Branch: MAIN
Changes since 1.70: +4 -2
lines
Diff to previous 1.70 (colored) to selected 1.61 (colored)
Show anonpages and vnodepages in "vmstat -s".
Revision 1.66.2.1 / (download) - annotate - [select for diffs], Thu Sep 28 15:23:56 2000 UTC (23 years, 6 months ago) by sommerfeld
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001,
netbsd-1-5-BETA2,
netbsd-1-5-BETA
Changes since 1.66: +3 -3
lines
Diff to previous 1.66 (colored) to selected 1.61 (colored)
Pull up: src/usr.bin/vmstat/vmstat.c 1.70 src/usr.bin/vmstat/vmstat.8 1.19 Fix misc/11086 (inconsistancies between man page and output) Approved by thorpej
Revision 1.70 / (download) - annotate - [select for diffs], Thu Sep 28 14:56:52 2000 UTC (23 years, 6 months ago) by sommerfeld
Branch: MAIN
Changes since 1.69: +3 -3
lines
Diff to previous 1.69 (colored) to selected 1.61 (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 (23 years, 6 months ago) by enami
Branch: MAIN
Changes since 1.68: +32 -18
lines
Diff to previous 1.68 (colored) to selected 1.61 (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 (23 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.67: +4 -2
lines
Diff to previous 1.67 (colored) to selected 1.61 (colored)
Display number of zero page aborts.
Revision 1.67 / (download) - annotate - [select for diffs], Thu Jun 29 06:29:14 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.66: +6 -5
lines
Diff to previous 1.66 (colored) to selected 1.61 (colored)
remove include of <vm/vm.h>
Revision 1.63.2.1 / (download) - annotate - [select for diffs], Fri Jun 23 16:40:16 2000 UTC (23 years, 9 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.63: +109 -44
lines
Diff to previous 1.63 (colored) next main 1.64 (colored) to selected 1.61 (colored)
Sync w/ netbsd-1-5-base.
Revision 1.66 / (download) - annotate - [select for diffs], Sun Jun 4 19:15:21 2000 UTC (23 years, 9 months 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) to selected 1.61 (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 (23 years, 10 months ago) by itojun
Branch: MAIN
Changes since 1.64: +16 -18
lines
Diff to previous 1.64 (colored) to selected 1.61 (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 (23 years, 10 months ago) by perry
Branch: MAIN
Changes since 1.63: +3 -2
lines
Diff to previous 1.63 (colored) to selected 1.61 (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 (23 years, 11 months 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) to selected 1.61 (colored)
Print the zero page statistics.
Revision 1.62 / (download) - annotate - [select for diffs], Fri Apr 14 06:11:11 2000 UTC (23 years, 11 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 - [selected], Mon Mar 27 17:03:27 2000 UTC (24 years 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.57.4.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:37:17 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.57: +35 -45
lines
Diff to previous 1.57 (colored) next main 1.58 (colored) to selected 1.61 (colored)
Pull up to last week's -current.
Revision 1.60 / (download) - annotate - [select for diffs], Sun Dec 5 19:02:29 1999 UTC (24 years, 3 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) to selected 1.61 (colored)
More fallout from CL* purge.
Revision 1.59 / (download) - annotate - [select for diffs], Tue Nov 2 06:23:50 1999 UTC (24 years, 5 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) to selected 1.61 (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 (24 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.57: +24 -34
lines
Diff to previous 1.57 (colored) to selected 1.61 (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 (25 years 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) to selected 1.61 (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 (25 years ago) by mrg
Branch: MAIN
Changes since 1.55: +2 -118
lines
Diff to previous 1.55 (colored) to selected 1.61 (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 (25 years, 1 month ago) by kleink
Branch: MAIN
Changes since 1.54: +3 -3
lines
Diff to previous 1.54 (colored) to selected 1.61 (colored)
<sys/fcntl.h> -> <fcntl.h>
Revision 1.54 / (download) - annotate - [select for diffs], Mon Jan 11 23:03:06 1999 UTC (25 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.53: +4 -4
lines
Diff to previous 1.53 (colored) to selected 1.61 (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 (25 years, 7 months ago) by perry
Branch: MAIN
Changes since 1.52: +6 -6
lines
Diff to previous 1.52 (colored) to selected 1.61 (colored)
bzero->memset, bcopy->memcpy, bcmp->memcmp
Revision 1.52 / (download) - annotate - [select for diffs], Sat Aug 1 23:45:05 1998 UTC (25 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.51: +8 -6
lines
Diff to previous 1.51 (colored) to selected 1.61 (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 (25 years, 8 months ago) by pk
Branch: MAIN
Changes since 1.50: +83 -6
lines
Diff to previous 1.50 (colored) to selected 1.61 (colored)
Print memory pool statistics.
Revision 1.50 / (download) - annotate - [select for diffs], Sun Jul 26 18:12:46 1998 UTC (25 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.49: +3 -3
lines
Diff to previous 1.49 (colored) to selected 1.61 (colored)
const poisoning.
Revision 1.49 / (download) - annotate - [select for diffs], Sun Jul 19 17:47:08 1998 UTC (25 years, 8 months ago) by drochner
Branch: MAIN
Changes since 1.48: +7 -4
lines
Diff to previous 1.48 (colored) to selected 1.61 (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 (25 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.47: +19 -9
lines
Diff to previous 1.47 (colored) to selected 1.61 (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 (25 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.46: +7 -4
lines
Diff to previous 1.46 (colored) to selected 1.61 (colored)
KNF.
Revision 1.46 / (download) - annotate - [select for diffs], Thu Mar 5 02:47:05 1998 UTC (26 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.45: +3 -3
lines
Diff to previous 1.45 (colored) to selected 1.61 (colored)
use the uvmexp.pageins member for "pi".
Revision 1.45 / (download) - annotate - [select for diffs], Fri Feb 13 05:10:32 1998 UTC (26 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.44: +253 -4
lines
Diff to previous 1.44 (colored) to selected 1.61 (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 (26 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.43: +58 -30
lines
Diff to previous 1.43 (colored) to selected 1.61 (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 (26 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.42: +54 -3
lines
Diff to previous 1.42 (colored) to selected 1.61 (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 (26 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.41: +19 -3
lines
Diff to previous 1.41 (colored) to selected 1.61 (colored)
flesh out standard vmstat output with UVM.
Revision 1.41 / (download) - annotate - [select for diffs], Sat Feb 7 15:42:32 1998 UTC (26 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.40: +68 -153
lines
Diff to previous 1.40 (colored) to selected 1.61 (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 (26 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.39: +12 -21
lines
Diff to previous 1.39 (colored) to selected 1.61 (colored)
Revive the -f option: report fork statistics.
Revision 1.39 / (download) - annotate - [select for diffs], Sat Nov 1 06:51:49 1997 UTC (26 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.38: +3 -3
lines
Diff to previous 1.38 (colored) to selected 1.61 (colored)
getopt returns -1 not EOF
Revision 1.38 / (download) - annotate - [select for diffs], Mon Oct 20 03:11:57 1997 UTC (26 years, 5 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) to selected 1.61 (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 (26 years, 5 months ago) by mrg
Branch: MAIN
Changes since 1.36: +6 -3
lines
Diff to previous 1.36 (colored) to selected 1.61 (colored)
merge lite-2.
Revision 1.36 / (download) - annotate - [select for diffs], Thu Apr 10 15:49:30 1997 UTC (26 years, 11 months ago) by is
Branch: MAIN
Changes since 1.35: +4 -4
lines
Diff to previous 1.35 (colored) to selected 1.61 (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 (26 years, 11 months ago) by is
Branch: MAIN
Changes since 1.34: +9 -3
lines
Diff to previous 1.34 (colored) to selected 1.61 (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 (27 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.33: +20 -6
lines
Diff to previous 1.33 (colored) to selected 1.61 (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 (27 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.32: +3 -3
lines
Diff to previous 1.32 (colored) to selected 1.61 (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 (27 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.31: +12 -13
lines
Diff to previous 1.31 (colored) to selected 1.61 (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 (27 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.30: +21 -25
lines
Diff to previous 1.30 (colored) to selected 1.61 (colored)
Remove straggling references to dk_ndrive and dk_xfer.
Revision 1.29.4.1 / (download) - annotate - [select for diffs], Wed Jun 5 00:21:05 1996 UTC (27 years, 10 months ago) by cgd
Branch: netbsd-1-2
CVS Tags: netbsd-1-2-RELEASE,
netbsd-1-2-PATCH001,
netbsd-1-2-BETA
Changes since 1.29: +6 -5
lines
Diff to previous 1.29 (colored) next main 1.30 (colored) to selected 1.61 (colored)
pull up from trunk: >the kernel 'boottime' variable is a timeval. copy it out of kernel >memory as such (not as a time_t).
Revision 1.30 / (download) - annotate - [select for diffs], Wed Jun 5 00:18:58 1996 UTC (27 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.29: +6 -5
lines
Diff to previous 1.29 (colored) to selected 1.61 (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 (27 years, 10 months 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) to selected 1.61 (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 (28 years ago) by cgd
Branch: MAIN
Changes since 1.27: +8 -6
lines
Diff to previous 1.27 (colored) to selected 1.61 (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 (28 years, 5 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) to selected 1.61 (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 (28 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.25: +3 -2
lines
Diff to previous 1.25 (colored) to selected 1.61 (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 (28 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.24: +3 -3
lines
Diff to previous 1.24 (colored) to selected 1.61 (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 (28 years, 6 months ago) by phil
Branch: MAIN
Changes since 1.23: +5 -2
lines
Diff to previous 1.23 (colored) to selected 1.61 (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 (28 years, 7 months ago) by phil
Branch: MAIN
Changes since 1.22: +41 -2
lines
Diff to previous 1.22 (colored) to selected 1.61 (colored)
pc532 specific interrupt code. (From Matthias Pfaller.)
Revision 1.22 / (download) - annotate - [select for diffs], Tue Jun 27 00:40:53 1995 UTC (28 years, 9 months ago) by jtc
Branch: MAIN
Changes since 1.21: +3 -3
lines
Diff to previous 1.21 (colored) to selected 1.61 (colored)
sys/signal.h -> signal.h
Revision 1.21 / (download) - annotate - [select for diffs], Sun May 7 22:16:26 1995 UTC (28 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.20: +7 -2
lines
Diff to previous 1.20 (colored) to selected 1.61 (colored)
fix up RCS ids
Revision 1.20 / (download) - annotate - [select for diffs], Sat Apr 29 05:59:11 1995 UTC (28 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.19: +3 -3
lines
Diff to previous 1.19 (colored) to selected 1.61 (colored)
cast pointers to longs, not ints.
Revision 1.19 / (download) - annotate - [select for diffs], Mon Apr 17 00:00:29 1995 UTC (28 years, 11 months ago) by ragge
Branch: MAIN
Changes since 1.18: +1 -10
lines
Diff to previous 1.18 (colored) to selected 1.61 (colored)
VAX machine dependent defs removed.
Revision 1.18 / (download) - annotate - [select for diffs], Tue Mar 14 07:35:49 1995 UTC (29 years ago) by pk
Branch: MAIN
Changes since 1.17: +35 -8
lines
Diff to previous 1.17 (colored) to selected 1.61 (colored)
Make use of the new kernel event counters; from Theo.
Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Wed Mar 1 23:06:36 1995 UTC (29 years, 1 month ago) by mrg
Branch: CSRG
CVS Tags: lite-2
Changes since 1.1.1.1: +4 -1
lines
Diff to previous 1.1.1.1 (colored) to selected 1.61 (colored)
4.4BSD-Lite2
Revision 1.17 / (download) - annotate - [select for diffs], Sat Dec 24 17:02:20 1994 UTC (29 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.16: +3 -2
lines
Diff to previous 1.16 (colored) to selected 1.61 (colored)
size is a size_t!
Revision 1.16 / (download) - annotate - [select for diffs], Thu Oct 6 15:54:02 1994 UTC (29 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.15: +2 -2
lines
Diff to previous 1.15 (colored) to selected 1.61 (colored)
Fix RCS id format.
Revision 1.15 / (download) - annotate - [select for diffs], Fri May 13 08:41:12 1994 UTC (29 years, 10 months 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) to selected 1.61 (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 (29 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.13: +2 -1
lines
Diff to previous 1.13 (colored) to selected 1.61 (colored)
rcsids
Revision 1.13 / (download) - annotate - [select for diffs], Wed May 11 07:34:10 1994 UTC (29 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.12: +222 -174
lines
Diff to previous 1.12 (colored) to selected 1.61 (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.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed May 11 06:59:57 1994 UTC (29 years, 10 months ago) by cgd
Branch: CSRG
CVS Tags: lite-1
Changes since 1.1: +173 -168
lines
Diff to previous 1.1 (colored) to selected 1.61 (colored)
updated vmstat
Revision 1.12 / (download) - annotate - [select for diffs], Fri Apr 15 07:07:27 1994 UTC (29 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.11: +84 -125
lines
Diff to previous 1.11 (colored) to selected 1.61 (colored)
clean, exported variable (and contents) changes
Revision 1.11 / (download) - annotate - [select for diffs], Sun Mar 13 03:38:31 1994 UTC (30 years ago) by cgd
Branch: MAIN
Changes since 1.10: +3 -3
lines
Diff to previous 1.10 (colored) to selected 1.61 (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 (30 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.9: +8 -8
lines
Diff to previous 1.9 (colored) to selected 1.61 (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 (30 years, 4 months ago) by deraadt
Branch: MAIN
Changes since 1.8: +8 -5
lines
Diff to previous 1.8 (colored) to selected 1.61 (colored)
some nice new things
Revision 1.8 / (download) - annotate - [select for diffs], Sat Oct 2 03:26:52 1993 UTC (30 years, 6 months ago) by cgd
Branch: MAIN
Changes since 1.7: +3 -3
lines
Diff to previous 1.7 (colored) to selected 1.61 (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 (30 years, 7 months ago) by cgd
Branch: MAIN
Changes since 1.6: +13 -13
lines
Diff to previous 1.6 (colored) to selected 1.61 (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 (30 years, 8 months ago) by mycroft
Branch: MAIN
Changes since 1.5: +2 -2
lines
Diff to previous 1.5 (colored) to selected 1.61 (colored)
Add RCS identifiers.
Revision 1.5 / (download) - annotate - [select for diffs], Sun Jun 6 17:15:59 1993 UTC (30 years, 9 months 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) to selected 1.61 (colored)
clean up interrupt count printing a bit...
Revision 1.4 / (download) - annotate - [select for diffs], Tue May 25 18:04:17 1993 UTC (30 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.3: +3 -3
lines
Diff to previous 1.3 (colored) to selected 1.61 (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 (30 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.2: +2 -1
lines
Diff to previous 1.2 (colored) to selected 1.61 (colored)
add rcs ids, and update for "arch"
Revision 1.2 / (download) - annotate - [select for diffs], Tue May 4 07:39:27 1993 UTC (30 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +3 -3
lines
Diff to previous 1.1 (colored) to selected 1.61 (colored)
iostat and vmstat being taught about drives..
Revision 1.1 / (download) - annotate - [select for diffs], Fri Apr 9 13:00:38 1993 UTC (30 years, 11 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-alpha-1,
netbsd-0-8
Diff to selected 1.61 (colored)
added, from net/2 (patch 124).