nerdexam
CompTIA

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.

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

How the community answered

(39 responses)
  • A
    3% (1)
  • B
    5% (2)
  • C
    90% (35)
  • D
    3% (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.

Ajobs

The jobs command lists background jobs running in the current shell session, which is not suitable for system-wide performance diagnosis.

Brenice

The renice command is used to change the scheduling priority of running processes, it does not diagnose performance issues.

CtopCorrect

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.

Dpkill

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

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

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice