Question

Difficulty: EasymacOS and Linux Operating System Features and Tools

A technician needs to inspect active running processes and current system resource usage on a Linux computer via the command line. Which of the following utilities can be used to view active processes? (Select TWO.)

  1. psAnswer
  2. topAnswer
  3. C
    chmod
  4. D
    chown

Answer

The commands 'ps' and 'top' are both native utilities used to inspect active processes on Unix-like operating systems such as Linux and macOS.
The 'ps' command lists currently running processes in a static snapshot format, whereas the 'top' command dynamically updates and displays running processes along with CPU and memory resource consumption.

Step-by-Step Solution

1
Identify command-line tools designed for process administration on Linux and macOS.
Recognize that 'ps' (process status) generates a snapshot listing of current processes, and 'top' provides a dynamic real-time view of running processes.
Both utilities are standard command-line tools explicitly designed for process inspection.
2
Evaluate the remaining choices to rule out non-process tools.
Identify that 'chmod' manages access permission modes and 'chown' modifies file ownership.
Neither file management command monitors system activity or running tasks.

Key Concept

Linux and macOS Process Inspection Commands
Rate this question