Using a tool like top or htop, is it possible to monitor CPU usage and execute a script if CPU usage exceeds a certain amount?
Asked
Active
Viewed 399 times
2 Answers
0
Cfengine can do with classes and variables. Classes use standard deviation which is more flexible that hard limits.
I think you can do this with net-snmp too.
You can pull loads from sysstat.
Raw numbers in /proc/loadavg.

Neil H Watson
- 448
- 1
- 5
- 18