Does anyone have a good way to monitor over-all CPU usage on a linux host?
I have been using:
The problem with the above, is that on some hosts I get "Not Supported" intermittently even though running it from the command line works fine 100% of the time. I'll re-enable it and it'll work again for a day, and then stop working.
I have been using:
Code:
system.run[sar -P ALL 1 2 | grep 'Average.*all' | awk -F" " '{ print 100.0 - $ NF }']

Comment