Date: Tue, 15 Aug 2000 20:56:43 -0700 From: Alfred Perlstein <bright@wintelcom.net> To: arch@freebsd.org Subject: would like to make cp_time a sysctl Message-ID: <20000815205643.M4854@fw.wintelcom.net>
next in thread | raw e-mail | index | archive | help
One must use libkvm for reading cpu utilization, I'm going to make them available through sysctl. I would like to have a sysctl that returns a string of the cpu states: kern.cpustates.names: user nice sys intr idle kern.cpustates.values: values I'm open for alternative suggestions on how to do this. I've been told that netbsd has thier own way of doing it, I don't like it because they use SYSCTL_STRUCT which isn't very useful unless you can include the C headers to parse it. thanks, -- -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org] "I have the heart of a child; I keep it in a jar on my desk." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000815205643.M4854>