That makes perfect sense.  I new I was missing something.  That also
reveals that the nice time is not a subset of the user time as
illustrated by the following command:

gawk '$1=="cpu0"{print(($2+$3+$4+$5)/100)}' /proc/stat; gawk '{print $1}' /proc/uptime

Thanks for your help,
Ben

On Tue, Sep 25, 2001 at 01:41:55PM -0600, Arend Meetsma wrote:
> Hi Ben,
> 
> Seems to me that these values are calculated since boot.
> So what you have to do is record the value, then look at it a bit later,
> and use the difference to calculate your values.
> 
> Hope this helps,
> Arend



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to