Linux如何重新開始被kill的process - LinuxEmily · 2011-03-06Table of ContentsPostCommentsRelated Posts某個process不知道為什麼過幾天會被kill 想說有沒有辦法讓它偵測這個process 如果process不存在 自己就會重新restart呢? 謝謝~^^ (CentOS 裡面) -- LinuxAll CommentsZora2011-03-07...自動被kill感覺毛毛的William2011-03-11用ps指令與crontab定期檢查該process的生死John2011-03-13推 2F 用 crontab 排自己寫的 shell script 用 ps 配grepJoe2011-03-13去查如果被系統做掉了的話(有時候是程式寫的有問題...跑段時間自己掛了 被系統移出去) 那就重新啟動程式...Daniel2011-03-15感謝樓上幾位前輩~ 剛剛我google換了一組關鍵字 發現有個叫做 Monit好像也可以做到 http://mmonit.com/monit/Anonymous2011-03-18檢查/var/run/你的程式.pid 還在不在?Emma2011-03-19請設 ulimit -c unlimited, 然後啟動程式找 bug,不要偷懶Related Postsgvim的設定無法連入rredhat建立的apache...(解決)Oracle VM VirtualBox 跑Cent OS問題linux版本判定問題?ubuntu權限
All Comments