Soru

Zorluk: KolaymacOS and Linux Operating System Features and Tools

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.)

  1. topCevap
  2. psCevap
  3. C
    df
  4. D
    grep

Cevap

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.

Adım Adım Çözüm

1
Identify the administrative requirement.
The requirement is to list or monitor active system processes from the terminal interface.
Process management utilities in Unix-like systems (Linux and macOS) allow administrators to observe resource allocation and identify unresponsive applications.
2
Evaluate the candidate process monitoring tools.
The top tool provides interactive, real-time monitoring of active tasks, while the ps tool lists running processes in a static snapshot format.
Both top and ps are standard Unix CLI utilities designed specifically for viewing process information.
3
Differentiate from non-process utilities.
The df tool inspects free disk space on filesystems, and grep parses text streams for regular expressions.
These utilities fulfill storage and text processing roles rather than process enumeration.

Anahtar Kavram

Linux and macOS Process Monitoring Utilities
Bu soruyu puanla