RHEL Linux - Red Hat System Administration Practice Exam

Disable ads (and more) with a membership for a one time $4.99 payment

Study for the RHEL Linux - Red Hat System Administration Exam. Enhance your knowledge with flashcards and multiple-choice questions, complete with hints and explanations. Prepare for your certification!

Practice this question and more.


Which command allows you to view currently running processes in RHEL?

  1. ps

  2. top

  3. htop

  4. jobs

The correct answer is: ps

The command that allows you to view currently running processes in RHEL is "ps." This command provides a snapshot of current processes running on the system. By default, if executed without any options, it shows processes that are associated with the current terminal session. However, with various options, it can display a more detailed and comprehensive list of all processes, including their process IDs, CPU usage, memory usage, and other important information. While other commands listed also provide insights into running processes, "ps" is fundamental for getting a quick view of specific processes managed by the user's current session. For example, users can add options like "ps aux" to see all processes on the system, regardless of the user who started them. Commands such as "top" and "htop" serve more dynamic purposes, providing a real-time view of running processes and their resource consumption over time. "jobs," on the other hand, typically shows processes that are actively running in the background within the current shell session and is limited to those jobs started from that particular shell. In summary, "ps" is the primary command for a straightforward examination of process statuses in RHEL.