|
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.
|