Package: procps Version: 1:3.2.7-3 Severity: wishlist I think this is pretty confusing: $ ps aux | grep gnome-pty-helper nice 20403 0.0 0.0 1956 620 pts/14 R+ 15:46 0:00 gnome-pty-helper $ pgrep gnome-pty-helper $
`ps aux` shows a proces but pgrep doesn't seem to see it. Unless if -f is used: $ pgrep -f gnome-pty-helper 20403 Fortunately, the explaination is at the bottom of pgrep(1) man page, the 15 characters limit on the process name. I think it would be better if pgrep had one of the following behaviours when pattern is more than 15 chars (and maybe optionally the others): a. Warn the user that the pattern cannot be matched (evt. add a "quiet" option which would not display this warning) b. Only use the 15 first chars of the pattern and warn the user about that c. Use what is done with the -f option so that it works -- System Information: Debian Release: 4.0 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.24 Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8) Versions of packages procps depends on: ii libc6 2.3.6.ds1-13etch5 GNU C Library: Shared libraries ii libncurses5 5.5-5 Shared libraries for terminal hand ii lsb-base 3.1-23.2etch1 Linux Standard Base 3.1 init scrip Versions of packages procps recommends: ii psmisc 22.3-1 Utilities that use the proc filesy -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]