Guest User

Untitled

a guest
Jul 4th, 2012
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. if [ `ps aux |grep wazapp |wc -l` -gt 2 ];
  4.  
  5. then
  6.  
  7. echo "running"
  8.  
  9. else
  10.  
  11. echo 'not running'
  12.  
  13. fi
  14.  
  15. exit
Advertisement
Add Comment
Please, Sign In to add comment