自动Kill使用太多处理器资源的进程
#!/bin/bash # March-13-2006 # CPUuse trigger script by Noel # # bash code to watch a running program’s CPU usage. # if it’s above a set value, it will auto send an email. # You will need to set a Cron job to run this …
#!/bin/bash # March-13-2006 # CPUuse trigger script by Noel # # bash code to watch a running program’s CPU usage. # if it’s above a set value, it will auto send an email. # You will need to set a Cron job to run this …