First of all i really thankful to all those people who have created this site.
unix.com rocks man!!
I am bit confused about the two commands which are 'top' and 'ps -ef'.
My requirement is that i want to monitor the CPU usage of Operating system and if the CPU usage is more than 90% i have to send mail to consern department and if it is more than 95% i have to send the sms.
So for this i have used 'top' command in the shell script but it is not working..that it is not coming out of that command.I have gone through the 'ps -ef' command in this forum but i am not able to get the excat difference between 'top' and 'ps -ef' command.
please help out..
Thanks in Advance!