Which command will display CPU load data along with information concerning users who are currently logged into the system?

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

Boost your Linux skills with the CompTIA Linux+ Certification Exam simulator. Engage with multiple choice questions and detailed feedback. Master Linux concepts and prepare for your exam with confidence!

The command that displays CPU load data along with information about users currently logged into the system is "w." This command provides a comprehensive overview of who is logged in, what they are doing, and the system's current load averages for the CPU. The output includes the login name of users, their terminal sessions, the time they have been active, and the CPU and memory usage attributed to each user.

This makes "w" particularly useful for system administrators who need to monitor both user activity and system performance simultaneously. The load averages shown in the "w" command output indicate the CPU load over the last 1, 5, and 15 minutes, providing real-time insights into system performance alongside user activity.

While other commands like "uptime" also provide load averages, they do not show details about logged-in users. "top" focuses on process management and real-time system performance, which includes CPU usage but does not explicitly list logged-in users in the same manner as "w." The "cpuinfo" file is a read-out of CPU information but does not provide real-time statistics on load or logged-in users.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy