Average CPU and Memory Usage from SAR Reports Using the Bash Script
Most Linux administrator monitor system performance with SAR report because it collects performance data for a week. But you can easily extend this to four weeks by making changes to the “/etc/sysconfig/sysstat” file. Also, this period can be extended beyond one month. If the value exceeds 28, the log files are placed in multiple directories, one for…