LPIC-2 Exam 201 (Linux Engineer) — Question 23
In order to gather performance data with sar over a longer period of time, which command should be run periodically from cron?
Answer options
- A. sa1
- B. sarmon
- C. sarec
- D. sadf
- E. sarcron
Correct answer: A
Explanation
The correct answer is A (sa1), as it is specifically designed to collect sar data at specified intervals. The other options do not serve this purpose; for example, sarmon, sarec, sadf, and sarcron are not intended for periodic data collection with sar.