tools to monitor cpu usage

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
Request for information on good tool that can record cpu usage
statistics on linux.


Re: tools to monitor cpu usage

Quoted text here. Click to load it
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

Quoted text here. Click to load it


You can use top from command line
or  grekllm


Site Timeline