Posted By

matpolster on 02/05/10


Tagged

process


Versions (?)

Detect running process


 / Published in: Bash
 

  1. if [ $(pidof rtorrent) ]; then
  2. echo "rtorrent" >> /path/to/file
  3. fi

Report this snippet  

You need to login to post a comment.