use pgrep to check for pid running