代码如下:#!/bin/bash
# March-13-2006# CPUuse trigger scr ipt 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 scr ipt every xx minutes## Set s