14

Need help with my process monitoring script

view full story
linux-howto

http://www.unix.com – GM everyone, I have this script that goes to multiple servers and monitor a certain process and send the output to a file on servers1, the script looks like this Code: exec < server.listwhile read SERVER do ssh $SERVER "ps -ef | grep process_name" >> /tmp/reportdone can someone help me ad a line to where if one these servers are down to show it in my /tmp/report, regards (HowTos)