自动杀掉占用较多CPU资源的Shell脚本
代码如下:#!/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 script every xx minutes## Set some needed things:#processToWatch=”convert” # in my
用户评论