Services and User Management

A process with PID 4821 is consuming excessive memory. Running ps -o pid,ppid,cmd -p 4821 reports a PPID of 3190. The administrator wants to see the command line of the process that started PID 4821. Which command does this?

Show the answer

Correct answerB. ps -o pid,cmd -p 3190

The PPID is the PID of the parent, so querying PID 3190 shows the parent's command line. Querying --ppid 4821 or pgrep -P 4821 lists the children of 4821, which is the opposite direction.