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
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,
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!