Do
pgrep -a process
instead
Update: seems like older pgrep (such as that which comes with RHEL6) doesn’t support this, you can do pgrep -l instead though.
Do
pgrep -a process
instead
Update: seems like older pgrep (such as that which comes with RHEL6) doesn’t support this, you can do pgrep -l instead though.