220-1102 · Question #690
Which of the following commands lists running processes in Linux?
The correct answer is A. top. The 'top' command in Linux provides a dynamic real-time view of running processes, including CPU and memory usage, making it ideal for monitoring system activity.
Question
Which of the following commands lists running processes in Linux?
Options
- Atop
- Bapt-get
- Cls
- Dcat
How the community answered
(53 responses)- A92% (49)
- B4% (2)
- C2% (1)
- D2% (1)
Why each option
The 'top' command in Linux provides a dynamic real-time view of running processes, including CPU and memory usage, making it ideal for monitoring system activity.
The 'top' command in Linux is used to display a dynamic, real-time list of running processes, providing information such as CPU usage, memory usage, and process IDs, which is essential for monitoring system performance and identifying resource-intensive applications.
'apt-get' is a command-line tool for handling packages in Debian-based Linux distributions, used for installing, updating, and removing software.
'ls' is used to list directory contents, not running processes.
'cat' is used to concatenate and display file contents, not to list running processes.
Concept tested: Linux command-line utilities - process management
Source: https://man7.org/linux/man-pages/man1/top.1.html
Topics
Community Discussion
No community discussion yet for this question.