while true
do
clear
ps ax | grep -v grep | grep -v $0 | grep tomcat
sleep 5
done
2012年12月18日 星期二
用watch的方式檢查process的存活狀況
標籤:
alive,
process,
shell script,
watch
2012年9月27日 星期四
Windows命令列執行concurrent background processes的作法
在Linux的command line中,如果要送出多個background processes,會在後面加上"&"符號,把他送入背景執行
sh foo.sh & sh bar.sh &在Windows則要用不同的方式去作這件事情,筆記一下
start foo.bat | start bar.batReference: superuser
標籤:
background,
cmd,
process,
windows
2012年7月31日 星期二
訂閱:
文章 (Atom)