Topic: monitoring my hardware

Hello everyone,
I am working on this script that's trying to do the Linux equivalent of /proc/stat.
So what do you think?

 $ /usr/sbin/iostat cpu

Or

 sysctl kern.cp_time

what does the intr= stand for in the sysctl kern.cp_time command?

what does the value of kern.ccpu mean?

Great would be resources to documentation that tell what the sysctl variables output mean.
It would also be a great resource to anyone browsing the forum.

Last edited by Bitweiler (2008-03-17 04:41:10)

Re: monitoring my hardware

It would help if you named which *BSD you intend to target.

Re: monitoring my hardware

ocicat wrote:

It would help if you named which *BSD you intend to target.

Sure, NetBSD firstly

also Free, Open, Dragonfly maybe even Mac OS X '( later)

Last edited by Bitweiler (2008-03-17 13:28:41)

Re: monitoring my hardware

Check out this site http://sysctl.enderunix.org/

"An educator never says what he himself thinks, but only that which he thinks it is good for those whom he is educating to hear."
-Nietzsche

Re: monitoring my hardware

RoddieRod wrote:

Check out this site http://sysctl.enderunix.org/

Thanks RoddieRod, but I'm looking for NetBSD infomation right now thou.