Date: Thu, 7 Aug 2014 18:21:46 +0300 From: Stefan Parvu <sparvu@systemdatarecorder.org> To: Eric van Gyzen <eric@vangyzen.net> Cc: freebsd-hackers@freebsd.org Subject: Re: run-queue length via sysctl Message-ID: <20140807182146.43b3f1c2239a5aa4456ff19f@systemdatarecorder.org> In-Reply-To: <53E38378.60401@vangyzen.net> References: <20140807163024.30fa15298e9dfee4661f68ec@systemdatarecorder.org> <53E38378.60401@vangyzen.net>
next in thread | previous in thread | raw e-mail | index | archive | help
> $ 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@systemdatarecorder.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140807182146.43b3f1c2239a5aa4456ff19f>