-x Require an exact match of the process name, or argument list if -f is given. The default is to match any substring.
pgrep -x ssh
pgrep
-x
pkill
Advertising: