A system administrator needs to inspect currently active processes and monitor system resource usage directly from a Linux or macOS terminal session. Which of the following terminal commands can be used to view process information? (Select TWO.)
- topAnswer
- psAnswer
- Cdf
- Dgrep
Answer
The correct commands for viewing running processes are top and ps.
The top command provides an interactive, real-time view of system resources and running processes, while the ps command generates a static snapshot list of currently running processes. Both commands natively serve to inspect process status in macOS and Linux terminal environments.
Step-by-Step Solution
Key Concept
Linux and macOS Process Monitoring Utilities