2012年12月18日 星期二

用watch的方式檢查process的存活狀況

while true
do
    clear
    ps ax | grep -v grep | grep -v $0 | grep tomcat
    sleep 5
done

沒有留言:

張貼留言