Shell Script to send alert on HighCPU Usage on Solaris

Find below a sample script which you can use to send a mail when the there is a High CPU.I have tested it on Solaris. The server name is TestServer. Feel free to use it in your environment and to share any thoughts. pid=`/usr/ucb/ps -auxwww | grep TestServer | tr

Continue reading »