Which command displays the system uptime and load averages?

Prepare for the Linux Professional Institute Level 2 Certification. Study with practice questions, comprehensive explanations, and quizzes to boost your confidence. Get exam ready with our resources!

Multiple Choice

Which command displays the system uptime and load averages?

Explanation:
The command that displays the system uptime and load averages is "uptime." When executed, it provides a concise summary of the current system state, including how long the system has been running since its last boot (uptime) and the average load on the system over the past 1, 5, and 15 minutes. This information is valuable for system administrators to assess performance and identify potential issues related to system load. The other commands serve different purposes: "top" is primarily used for interactive process monitoring and provides in-depth information about currently running processes, including CPU and memory usage, but it does not focus specifically on uptime. "who" shows who is currently logged into the system and their login details, without any information about system load. "time" is typically used to measure the duration of command execution rather than provide system statistics. Therefore, "uptime" is the correct choice for obtaining information related to system uptime and load averages.

The command that displays the system uptime and load averages is "uptime." When executed, it provides a concise summary of the current system state, including how long the system has been running since its last boot (uptime) and the average load on the system over the past 1, 5, and 15 minutes. This information is valuable for system administrators to assess performance and identify potential issues related to system load.

The other commands serve different purposes: "top" is primarily used for interactive process monitoring and provides in-depth information about currently running processes, including CPU and memory usage, but it does not focus specifically on uptime. "who" shows who is currently logged into the system and their login details, without any information about system load. "time" is typically used to measure the duration of command execution rather than provide system statistics. Therefore, "uptime" is the correct choice for obtaining information related to system uptime and load averages.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy