LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Closed Thread
 
Search this Thread
Old 06-27-2006, 12:31 PM   #1
krudupa9
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Rep: Reputation: 0
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.
 
Old 06-27-2006, 12:51 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,118
Blog Entries: 54

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


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
simple shell script help needed vbsaltydog Linux - Networking 10 05-02-2006 01:47 AM
!!!help Needed Urgently!!! gupta.akshat Slackware - Installation 1 12-13-2005 09:22 AM
Help urgently needed steve007 Linux - Newbie 2 08-26-2005 09:14 AM
help needed urgently for a project djadhav Linux - Networking 1 10-18-2004 12:44 PM
Help needed learning to write a shell script for logons nistur Linux - Networking 8 10-02-2004 02:34 AM


All times are GMT -5. The time now is 01:25 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration