[mrtg] Re: CPU and Memory utilization

Stefano Giraldo stefano at neotokyo3.it
Wed Aug 4 16:39:48 MEST 2004


> top -b -n 1 | \
>   awk '/^CPU states:/ { gsub("%", ""); print (100 - int($9))}'
> 
> --
> Takumi Yamane <yamtak at b-session.com>

Sorry... mine was more handicraft... :) 

Bye, 

        Ste.

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list