XK0-005 · Question #827
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?
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.
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
How the community answered
(39 responses)- A3% (1)
- B5% (2)
- C90% (35)
- D3% (1)
Why each option
The top command provides a dynamic, real-time view of running processes, displaying CPU and memory usage, which is crucial for diagnosing performance issues.
The jobs command lists background jobs running in the current shell session, which is not suitable for system-wide performance diagnosis.
The renice command is used to change the scheduling priority of running processes, it does not diagnose performance issues.
The top command provides a real-time, dynamic view of a running Linux system, showing process information such as CPU usage, memory consumption, swap usage, and load averages. This comprehensive overview is highly effective for identifying processes that are consuming excessive resources and contributing to performance problems.
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
Source: https://man7.org/linux/manpages/man1/top.1.html
Topics
Community Discussion
No community discussion yet for this question.