TestOut Linux Pro Practice Test 2025 - Free Linux Pro Practice Questions and Study Guide

Question: 1 / 400

What command would you use to view active processes in Linux?

ps

top

jobs

both a and b

To view active processes in Linux, using either the 'ps' command or the 'top' command is appropriate. The 'ps' command displays a snapshot of the current processes along with relevant details such as process ID, terminal associated with the process, CPU usage, memory usage, and the command that initiated the process. It is often used with various options to filter or format the output for specific needs.

On the other hand, the 'top' command provides a dynamic, real-time view of the system's running processes. It continuously updates the display to show which processes are using the most resources, allowing users to monitor system performance and process behavior live.

Both commands serve the purpose of displaying active processes, but in different formats and contexts. Therefore, selecting both 'ps' and 'top' is a comprehensive approach to process monitoring in Linux.

Get further explanation with Examzify DeepDiveBeta
Next Question

Report this question

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy