nerdexam
CompTIACompTIA

XK0-005 · Question #827

XK0-005 Question #827: Real Exam Question with Answer & Explanation

The correct answer is C: top. The top command provides a dynamic, real-time view of running processes, displaying CPU and memory usage, which is crucial for diagnosing performance issues.

Troubleshooting

Question

A systems administrator receives a report about performance issues in a Linux production system. Which of the following commands should the administrator use to help diagnose the performance issues?

Options

  • Ajobs
  • Brenice
  • Ctop
  • Dpkill

Explanation

The top command provides a dynamic, real-time view of running processes, displaying CPU and memory usage, which is crucial for diagnosing performance issues.

Common mistakes.

  • A. The jobs command lists background jobs running in the current shell session, which is not suitable for system-wide performance diagnosis.
  • B. The renice command is used to change the scheduling priority of running processes, it does not diagnose performance issues.
  • D. The pkill command is used to send signals (e.g., terminate) to processes based on name or other attributes, it does not diagnose performance issues.

Concept tested. Linux system performance monitoring

Reference. https://man7.org/linux/manpages/man1/top.1.html

Topics

#Linux performance#System monitoring#top command#Process management

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions