XK0-005 · Question #293
A customer reports a Linux production server is randomly suffering degraded performance. The administrator verifies that the package is installed and enabled on the server. sysstat Which of the…
The correct answer is C. Analyze the data in using the command. Since sysstat is already installed and enabled, the most effective way to diagnose historical performance issues is to analyze the data it has already collected.
Question
Options
- ACreate a job that runs every 15 minutes to collect historical data of the load
- BLeave a ping running overnight from a laptop to the server to catch any latency encountered.
- CAnalyze the data in using the command.
- DOpen a screen session and run top inside of it. Let it run over night and collect the data.
How the community answered
(27 responses)- A22% (6)
- B4% (1)
- C63% (17)
- D11% (3)
Why each option
Since `sysstat` is already installed and enabled, the most effective way to diagnose historical performance issues is to analyze the data it has already collected.
While collecting historical data is good, `sysstat` already does this, so creating a new job to duplicate this function is redundant and less efficient than using existing data.
A ping only checks network connectivity and latency; it does not provide detailed system performance metrics like CPU, memory, or disk I/O that `sysstat` captures.
The `sysstat` package includes utilities like `sar` (System Activity Report) which collects and reports system activity information, and `sadf` which is used to display `sar` data in various formats. Analyzing the historical data collected by `sysstat` using `sar` or `sadf` provides insights into past performance bottlenecks without needing to proactively capture new data.
Running `top` in a screen session overnight provides real-time snapshot data but does not easily allow for historical analysis of trends or specific events that might have occurred hours ago, unlike `sysstat`'s persistent logging.
Concept tested: Analyzing historical sysstat performance data
Source: https://man7.org/linux/man-pages/man1/sar.1.html
Topics
Community Discussion
No community discussion yet for this question.