Jordan Savant // Software Architect

#!/bin/bash

if [ "$(pidof process_name)" ]
then
  # process was found
else
  # process not found
fi