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.