Comment on How to auto-reboot if CPU load too high?

agent_flounder@lemmy.world ⁨8⁩ ⁨months⁩ ago

Load average of 400???

You could install systat (or similar) and use output from sar to watch for thresholds and reboot if exceeded.

The upside of doing this is you may also be able to narrow down what is going on, exactly, when this happens, since sar records stats for CPU, memory, disk etc. So you can go back after the fact and you might be able to see if it is just a CPU thing or more than that. (Unless the problem happens instantly rather than gradually increasing).

source
Sort:hotnewtop