New answers tagged

0

I have created a script that kills some processes listed in array, if CPU usage greater than XX% for YY seconds or kill processes that running more than ZZ seconds. You can set XX, YY, ZZ in the top of the file. You can use a ps or top for check processes. There's a dry run mode too, to check but not kill. In the end, the script sends an email if some ...



Top 50 recent answers are included