手动监控网络状态
手动监控网络状态
echo "==================================" >> out.txt date +"%Y%m%d%H%M" >> out.txt echo "187.33.1521\t`netstat -an|grep -ic 187.33.1521`" >> out.txt echo "sg187.140\t`netstat -an|grep -i 187.33.1521|grep -ic 187.140`" >> out.txt ------ echo "who197.4x\t `netstat -an|grep -i 187.33.1521|grep -ic 197.4`">>out.txt echo "othersIps\t`netstat -an|grep -i 187.33.1521|grep -iv 187.140....|grep -ic ESTABLISHED`" >> out.txt