iowait, Idle and user
Hello
how to get from linux console current (not the average data), used by iowait, Idle and user , without using top ? For example now top is returning this Cpu(s): 11.0%us, 2.7%sy, 0.3%ni, 82.8%id, 3.0%wa, 0.0%hi, 0.2%si, 0.0%st Where to get 11.0%us , 82.8%id and 3.0%wa without using top ? I suppose I should grep some data in /proc/ but where exactly. Thank you Graziano |
There is no such "current" data. Look at the manpage for proc, entry /proc/stat.
You can do all the math yourself, but believe me, "top" makes it easier. |
I need this info to save them on a chart . Top is interactive I can't use it.
|
I would suggest you also read the manpage for "top".
|
Quote:
|
All times are GMT -5. The time now is 08:30 AM. |