What command is used to monitor the performance of the system's processor over time?

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 used to monitor the performance of the system's processor over time is the System Activity Report (sar) command. Sar collects and stores system activity information, allowing users to retrieve historical performance data about the CPU and other system components. This historical data is valuable for analyzing trends over time, identifying potential performance bottlenecks, and diagnosing issues related to CPU usage.

While other commands also provide performance data, they serve different purposes or have different scopes. For example, the top command displays real-time information about all processes currently running, featuring CPU usage among other metrics but does not inherently provide historical data. Mpstat offers the ability to monitor CPU usage on a per-processor basis, providing a snapshot rather than long-term statistical data. Similarly, iostat focuses on input/output statistics for devices and may include CPU usage as part of its output, but its primary function is not centered around comprehensive CPU performance over time.

Thus, sar is the most suitable command for consistently monitoring and analyzing processor performance in a historical context, making it the optimal choice for this question.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy