I am new to the unix environment and I need help with my question below.
I need to monitor certain critical processes on several servers and we have scripts that will grep and display those we need to monitor but we need to open new PuTTy sessions to each server in order to do that.
I would like to know if I could open only one PuTTy session in one of the server and somehow run scripts on the other servers then display the output in that one PuTTy session.
Thank you jimbalaya for your suggestion but unfortunately it did not work. I was prompting for the password.
Anyway I have managed to a telnet script and run the grep command then exit successfully.
Now I have 2 other questions, would telnetting to the server every 30 seconds or so impact the server performance and is there a way to suppress the screen output except for grep command output?
Follow jimbalaya's suggestion: use ssh and read the manuals !
to use ssh without passwd requires a few tasks (like copying keys...)
Or you could use once on one server rcommands like rcp but here also it requires some configuration in order to not have to enter passwd...
The easiest of course would be a cron job on each server that writes to a log on a same NFS mounted directory...