These are not two pdftoppm
processes. The following is the pdftoppm
process:
root 25523 49.6 0.7 18192 12620 ? RN 14:13 0:59 pdftoppm -f 1 -l 1 /pdf/input.pdf /test/processing/output
The following is the process for the shell command:
root 25522 0.0 0.0 1844 500 ? SN 14:13 0:00 sh -c /bin/bash -c "pdftoppm -f 1 -l 1 /pdf/input.pdf test/processing/output"
The first line in your grep
output is for the shell command that was executed. The second line was for the actual pdftoppm
invocation. The third line was for the grep
. (Both your shell command and grep
contained the string pdftoppm
, which were a part of the process list when queried.)