Comment 8 for bug 1174911

Revision history for this message
Removed by request (removed3425744) wrote : Re: pgrep does not correctly match the input of the user against the process name

Edit: Meh, on looking at the manpage I remembered the argument is a pattern which can make the above very tricky. Alternatively pgrep could really fallback to /proc/_pid_/cmdline on failure or use -f as default.