Processes and system information · Question 11 of 12

An admin is looking for the PIDs of the running nginx processes. Which commands help?

3 answers are correct. Hard Created with AI

Show answer

Answer

  • A ps aux | grep nginx
  • C ps -C nginx
  • D pgrep nginx

Explanation

pgrep prints the PIDs directly, ps -C selects processes by command name. With ps aux | grep the grep process itself often shows up in the list too.

Certifications & exams

Which exam comes next?

You can already practise for 51 exams, and 16 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications