fn: sgnd_proc_exists
Purpose
Test for a running process with an exact executable name.
Arguments
$1— Executable name as matched by pgrep -x.
Returns
- 0 if found; nonzero otherwise.
Usage
sgnd_proc_exists sshd

fn: sgnd_proc_exists
Test for a running process with an exact executable name.
$1 — Executable name as matched by pgrep -x. sgnd_proc_exists sshd