Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cpu activity



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?'




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org