sar is not capturing logs in Linux
sar (System Activity Report) is monitoring tools which monitors system performance like CPU/mem/IO utilization etc.
The sar captures data on every 10mins interval and the log files are getting stored under /var/log/sa. We can see files generated on every day basis and the log rotaion happens depending on cron set under /etc/cron.d/sysstat.
Supoose the log files are not getting generated in the /var/log/sa directory.
Check the sysstat service status and if it is not running then try to restart the service.
#service sysstat status --> to check service status
#service sysstat status --> to restart service
or
#sysctl restart sysstat
Regards,
Kiran Jaddhav