Is there a way to just display a given days averages using sar. I currently do something like the following:
sar -u -s 00:00:00 -e 23:59:59 -f /var/log/sysstat/sa10
And just take the last (average) line to add to a report. But it would be nice and easy to just gen my report if I could pass an argument to just spit-out the average. I could not find such an option in the sar documentation. So, unless I am missing it, I am guessing the option is no. However, It's very possible I'm missing it or there might be another tool other than sar that might expose this functionality.
Asked by RockyMountainHigh
(133 rep)
Apr 28, 2014, 01:32 AM
Last activity: Jan 17, 2020, 12:37 PM
Last activity: Jan 17, 2020, 12:37 PM