Which command is used to list running processes in real-time?

Prepare for the LPIC-2 Certification Test with our study tools, including flashcards and multiple choice questions with hints and explanations. Get ready to pass your exam!

The command that is used to list running processes in real-time is top. This command provides a dynamic, real-time view of the system's current processes, displaying their CPU and memory usage along with various other statistics. top updates the displayed information every few seconds, allowing users to monitor system performance live and observe how processes change over time.

While ps is commonly used to show a snapshot of currently running processes, it does not update automatically. The htop command also provides an interactive and user-friendly interface for viewing processes, but it may not be available by default on all systems. On the other hand, jobs lists the jobs that are running in the current shell session but does not provide a complete view of all system processes like top does. Therefore, top is the most suitable choice for viewing running processes in real-time.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy