Can you add config option for pause on % of CPU usage?
I run xmrig on my personal PC, but also have a few background apps that occasionally cycle and cause usage spikes even when unattended. When this happens, sometimes the PC will just lock up and freeze until manual reboot.

It would be great if we could see a config option to have xmrig pause when PC goes above a certain CPU usage percentage, then resume when CPU usage falls below that threshold.

Example; 

Xmrig pause above 75%, then resume below 75%.

Could such an option work?

Thanks;