The '-a' flag[0] which should lis the full cmd line seems to be in
limited to 4096 chars[1] which in most case is more than enough, but not
the case for java processes with long classpaths for instance as
describe in the bug description.


[0]       -a, --list-full
              List the full command line as well as the process ID.  (pgrep 
only.)

[1] pgrep.c
     44 
     45 #define CMDSTRSIZE 4096
     46

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1839329

Title:
  pgrep: Use POSIX _SC_ARG_MAX for maximum pgrep -f command line length

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/procps/+bug/1839329/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to