Best way to see if a process is running by process name

Hello,
I am looking for a way to check if a process is running on a remote system by looking for the process name. I have the nagios pluging and nrpe configured on the system. Please let me know.

check_procs. It’s in your libexec or plugin folder already.