![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| script to monitor process running on server and posting a mail if any process is dead | pradeepmacha | Shell Programming and Scripting | 13 | 03-06-2009 07:33 AM |
| use prtg to monitor sun server CPU | csross | UNIX Desktop for Dummies Questions & Answers | 2 | 07-04-2007 04:06 PM |
| load monitor script | locabuilt | UNIX for Advanced & Expert Users | 7 | 01-19-2007 02:37 PM |
| Hep with script to monitor directory | cmf00186 | UNIX for Dummies Questions & Answers | 2 | 10-25-2006 02:42 PM |
| X-server and UNIX: monitor refresh rate | sablot | UNIX Desktop for Dummies Questions & Answers | 0 | 09-11-2004 03:17 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
server monitor script...
hi all
i have a script which will write a log file depending upon output of TOP command ( i am on HP-UX ) and some rules to analyze processes if process falls under that rule then log entry in file. i am ready with this part i have perl script which does this for me but i have 3 HP servers and i have to run script on all of them & to monitor i have to go on each server and open log file i dont want this can i create a log file on any one server and write logs to this one file only so that i dont have to go on each server. then by looking at this file i can send messages to user ( mail ) or take some other action. thanx |
|
||||
|
Sure- NFS export a log directory from one of your servers (the master). Export it r/w to the other servers. On the other servers, NFS mount the directory. Write the data into a file in the imported directory, like normal.
On the master, log in and enjoy. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|