http://www.unix.com – Hi All, Need your inputs for the below. I have 2 different servers 611 & 610, where i would be running two scripts. And would would be running one script from 611 at every 4 hours to merge the data from the 2 servers into 2 files and send a mail. so below is the code snippet for 611: Code: #!/bin/bash var1=`netstat | grep 16001 | wc -l` var2=`date` var3=`psme | grep -i DM_EAI | wc -l` while true; do echo $var2 $var1 sleep 1800 done > eai_js_611.csv while true; do echo $var2 $var3 sleep 1800 done (HowTos)