This basically prints the CPU utilization if it is more than 70%. We can replace the 'print' with a force kill command if this is the answer to your question.ps aux | perl -lane 'print if $F[3] > 70'
In reply to Re: How to limit CPU utilization by ANY process with a perl script?
by bichonfrise74
in thread How to limit CPU utilization by ANY process with a perl script?
by unix.95054
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |