/ Published in: Bash
- APPCHK=$(ps aux | grep conky | grep -v "grep conky" | wc -l)
- if [ "$APPCHK" = '1' ];
- echo "Conky isn't running!" > ~/conkyChk.log
- echo "Conky is running fine :)" > ~/conkyChk.log
You need to login to post a comment.