LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Shell Script needed urgently!!!! (http://www.linuxquestions.org/questions/linux-general-1/shell-script-needed-urgently-458822/)

krudupa9 06-27-2006 12:31 PM

Shell Script needed urgently!!!!
 
I use LINUX O.S and iam totally new to LInux/Unix environment.

i have been asked to write a shell script and i need guidance on how to write one..

I want someone to help me with a script to automate load monitoring. This will be a script which ssh to each server (based on a config file) and gives load stats on each server. Apart from doing that it will send email alarms if load on any one server is high.


The script should basically

a) Run from one machine.
b) ssh into all of the other machines.
c) Collect the cpu% usage from each machine.
d) Write a scheduler which will send this data if CPU%>25 on any machine.

unSpawn 06-27-2006 12:51 PM

Crosspost. Disregard. Any FUP's to: http://www.linuxquestions.org/questi...d.php?t=458821


All times are GMT -5. The time now is 12:29 AM.