

Forgot to mention, there are ways to build reports from the sar output - which would give you a chance to filter the logs.
https://www.cyberciti.biz/tips/identifying-linux-bottlenecks-sar-graphs-with-ksar.html
Ahh - yes - I haven’t looked at this for a long time – the sysstat and ksar packages.


I haven’t used sar in over 10 years. I used to use it to monitor resource usage of jobs that I was running while I was at work. Now that I look back, I was using isag (no longer maintained) to generate reports for me.
I would think it should be possible to package ksar in an appimage or docker container - but I don’t know if one exists.
But - there is a newer option:
This is part of the sysstat package - no need to install anything else, and no java. sadf allows you to make graphs that you can view in your browser. Check the man file for sadf for more information. (Can’t comment any further on this since I haven’t used it.)