Looking at the man page for pgrep this isn't a bug. Looks like it is the
default behaviour for backwards compatibility with the original Solaris
version.

NOTES
       The process name used for matching is limited to the 15 characters 
present in the output of
       /proc/pid/stat.  Use the -f option to match against the complete command 
line, /proc/pid/cmdline.

STANDARDS
       pkill and pgrep were introduced in Sun’s Solaris 7.  This implementation 
is fully compatible.

** Changed in: procps (Ubuntu)
       Status: Confirmed => Rejected

-- 
pgrep cannot match some long filenames
https://bugs.launchpad.net/bugs/113096
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to