tools to monitor cpu usage

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

Reply to
max8y
Loading thread data ...

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

Reply to
Devlin Doe

You can use top from command line or grekllm

Reply to
raseelbhagat

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.