After seeing a question here
I want to have a configuration in my Ubuntu system so that if the cpu processing exceeds 90%, it gives a beep sound. Is this possible?
Also, where else can this beep sound be used? Can it be used if the hard disk utilisation exceeds 80% ?
Yes. I wrote a script that plays a notification sound when CPU load average exceeds 90% (accounting for all cores).
The system speaker is, by default, disabled on Ubuntu systems, hence using one of the standard notification sound seems a better choice for this.
To run it, simply download the script (save it as
notify-highload.sh
), and copy to your home directory. Then, from a terminal, runchmod +x ./notify-highload.sh
, followed by./notify-highload.sh -ag &
.If you want it to run every time on start up, add the script to your
Startup Applications
.Yes, it can. I wrote a script available here.
I will add a few more later on.
Download:
Install with Ubuntu Software Center: Monit