The '-a' flag[0] which should list the full cmd line seems to be limited to 4096 chars[1].
In most case it is more than enough, but not always 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
The '-a' flag[0] which should list the full cmd line seems to be limited to 4096 chars[1].
In most case it is more than enough, but not always 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