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

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
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 08:17:15 IST 2006


On Wed, 2006-06-07 at 16:38 +0100, 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 ?


/thinking around the S bend as usual ;-)

In view of all the real difficulties highlighted by many, why not try
this approach:

A simple command like dd if=/dev/zero of=/dev/null bs=4 count=100
_timed_ would take a finite period on your embedded system. If cpu load
went up, time taken would go up. Set the process priority as low, and
graph your machine's performance under increasing load.

Then scale it in percentages. If you want to be really fancy, factor in
number of processes ( perhaps ps -e | grep -ce '\n'), lack of memory
(free), or other such data and you'd have a tailor made app.
 

-- 
        With Best Regards,

        Declan Moriarty.




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