tools to monitor cpu usage - Embedded
This is a discussion on tools to monitor cpu usage - Embedded ; Request for information on good tool that can record cpu usage
statistics on linux....
-
tools to monitor cpu usage
Request for information on good tool that can record cpu usage
statistics on linux.
-
Re: tools to monitor cpu usage
On Tue, 27 Jun 2006 12:53:10 -0700, max8y wrote:
> Request for information on good tool that can record cpu usage
> statistics on linux.
I would suggest:
cat, crond, awk (or sed) and rrdtool.
Use cron to record into rrd database every 5 minutes ('rrdtool update'),
draw nice graphs of the data for display later or in realtime (using'
rrdtool graph')
### Kernel 2.6: user(normal+nice) : system : idle :iowait
cat /proc/stat | awk '/cpu0 / { print $2+$3":"$4":"$5":"$6 }'
## Kernel 2.4: user(normal+nice) : system : idle : U
cat /proc/stat | awk '/cpu / { print $2+$3":"$4":"$5":U" }'
/devlin
-
Re: tools to monitor cpu usage
max8y@yahoo.com wrote:
> Request for information on good tool that can record cpu usage
> statistics on linux.
You can use top from command line
or grekllm