Shell command to check if a process is running or not