Livejournal
Log in
Post
Friends
My journal
shenfdrive
Простейший способ проверки существования процесса
Mar 27, 2012 11:34
#!/bin/shSERVICE='mc'if ps ax | grep -v grep | grep $SERVICE > /dev/nullthen echo "$SERVICE service running, everything is fine"else echo "$SERVICE is not running"fi
scripts
,
bash
,
скрипты
,
linux
Leave a comment
Previous post
Next post
Up