run-queue length via sysctl

Stefan Parvu sparvu at systemdatarecorder.org
Thu Aug 7 15:22:01 UTC 2014


> $ sysctl vm.vmtotal
> vm.vmtotal:
> System wide totals computed every five seconds: (values in kilobytes)

super. many thanks. Reading it now.

> vmstat uses the vm.vmtotal sysctl to get a struct vmtotal{} for the "r b
> w" columns.  See fill_vmtotal() in src/usr.bin/vmstat/vmstat.c and
> vmtotal{} in /usr/include/sys/vmmeter.h.

I will check as well vmstat.c 


-- 
Stefan Parvu <sparvu at systemdatarecorder.org>


More information about the freebsd-hackers mailing list