Date: Thu, 7 Aug 2014 16:30:24 +0300 From: Stefan Parvu <sparvu@systemdatarecorder.org> To: freebsd-hackers@freebsd.org Subject: run-queue length via sysctl Message-ID: <20140807163024.30fa15298e9dfee4661f68ec@systemdatarecorder.org>
next in thread | raw e-mail | index | archive | help
Hi, I made some progress in porting 2 data recorders to FreeBSD: cpurec, hdwrec: http://www.systemdatarecorder.org/recording/agents.html Im working now on sysrec and found very powerful the sysctl interface since last time I checked in 2007 or so. But I could not find any way to get the value of run-queue length via sysctl. procs memory page disks faults cpu r b w avm fre flt re pi po fr sr mf0 mf1 in sy cs us sy id 0 0 0 757M 61G 6 0 0 0 12 1 0 0 9 50 135 0 0 100 0 0 0 757M 61G 0 0 0 0 0 1 0 0 21 140 208 0 0 100 0 0 0 757M 61G 0 0 0 0 0 1 0 0 3 125 94 0 0 100 0 0 0 757M 61G 0 0 0 0 0 1 0 0 4 125 99 0 0 100 I dont want to call vmstat in my script ... Any ideas how to do this ? thanks, -- Stefan Parvu <sparvu@systemdatarecorder.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140807163024.30fa15298e9dfee4661f68ec>