cpu activity
David Kramer
david at thekramers.net
Thu Nov 20 15:55:03 EST 2003
On Thu, 20 Nov 2003, Stephen Adler wrote:
> I'm thinking of writing a quick and dirty routine which
> gets the total cpu activity which top reports. I was
> wondering if there was a field under the /proc file system
> which reports system,user, idle cpu activity or if there
> is a system call which returns this.
>
> Cheers. Steve.
/proc/loadavg
though I don't know much about it, that's the most likely candidate.
--
DDDD David Kramer david at thekramers.net http://thekramers.net
DK KD
DKK D If you don't know who you are, the stock market is an expensive
DK KD place to find out.
DDDD -Adam Smith
More information about the Discuss
mailing list