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. 5
by ps(1). It is defined in the kernel source file fs/proc/array.c. … (2) comm %s The filename of the executable, in parentheses. This is visible whether or not the executable is swapped out. 7