cpu activity

Chris Devers cdevers at pobox.com
Thu Nov 20 16:07:45 EST 2003


Surely this is one of the simpler ways to do it:

    $ uptime
    16:04  up 7 days, 19:45, 8 users, load averages: 4.74 4.25 3.55

    $ uptime | awk '{print $10}'
    4.78

Wouldn't anything from /proc just have that same value?



-- 
Chris Devers      cdevers at pobox.com
http://devers.homeip.net:8080/blog/

np: 'Dude, Where's My Country - Michael Moore-05 of 10'
     by Michael Moore
     from 'Dude, Where's My Country?'



More information about the Discuss mailing list