LFCA · Question #54
A host seems to be running slowly. What command would help diagnose which processes are using system resources?
The correct answer is D. lop. The question asks for a command to identify resource-intensive processes when a Linux system is running slowly.
Question
A host seems to be running slowly. What command would help diagnose which processes are using system resources?
Options
- Adf
- Bfree
- Cuptime
- Dlop
How the community answered
(17 responses)- A6% (1)
- B6% (1)
- D88% (15)
Why each option
The question asks for a command to identify resource-intensive processes when a Linux system is running slowly.
The `df` command reports disk space usage, not individual process resource consumption.
The `free` command displays information about total, used, and free memory, but it doesn't show per-process memory or CPU usage.
The `uptime` command shows how long the system has been running, the number of users, and the system load averages, but not individual process resource usage.
The `top` command provides a real-time, dynamic view of running processes, displaying critical information such as CPU usage, memory usage, and process IDs. This makes it an ideal tool for quickly identifying which processes are consuming significant system resources and contributing to system slowdowns.
Concept tested: Linux system performance monitoring (top command)
Source: https://man7.org/linux/man-pages/man1/top.1.html
Topics
Community Discussion
No community discussion yet for this question.