LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] CPU Load monitor

[ILUG] CPU Load monitor

Declan Moriarty junk_mail at iol.ie
Wed Jun 7 06:40:50 IST 2006


On Wed, 2006-06-07 at 16:44 +0100, Pádraig Brady wrote:
> Chris Woods wrote:
> > Hello All,
> > 
> > I'm kinda lost with this one, I thought at first ps, or top, but they don't
> > seem to give enough info...
> > Does anyone know if there is a good CPU load monitor for linux ? A command
> > line tool would be great. Work wants to put one on an embedded platform ?
> > 
> > Really appreciate your help,
> > Chris.
> 
> What output to you want from the command exactly.
> 
> Is it load average? Maybe something simple like the following?
> 
> while true; do cat /proc/loadavg; sleep 1; done
> 
> Or you could use the following to see what processes are using CPU
> 
> ps -e -o pcpu,cpu,nice,state,cputime,args --sort pcpu | sed '/^ 0.0 /d'
> 
Icewm gives you a network and cpu load monitor as graphical icons in the
bottom right hand corner, with very little fuss or bother. Why not grok
the source?




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell