Use grep to check if process is active