In: , ,
On: 2004 / 04 / 01
Shorter URL for this post: http://ozh.in/s

CPU load :

  1. ps -eao "pcpu" | awk '{a+=$1} END {print a}'

Memory load :

  1. ps -eao "pmem" | awk '{a+=$1} END {print a}'

Shorter URL

Want to share or tweet this post? Please use this short URL: http://ozh.in/s

Metastuff

This entry "CPU & Memory Load" was posted on 01/04/2004 at 8:16 am and is tagged with , ,
Watch this discussion : Comments RSS 2.0.

No Comment yet

  1. TomBoss says:

    Firstpost.
    (au cas ou)

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
Gravatars: Curious about the little images next to each commenter's name ? Go to Gravatar and sign for a free account
Spam: Various spam plugins may be activated. I'll put pins in a Voodoo doll if you spam me.

Read more ?

 « ps monitor