sadf command examples
sadf – Display data collected by sar in multiple formats.
#sadf -d /var/log/sa/sa21 -- -r -n DEV
Extract memory, swap space and network statistics from system activity file ‘sa21’, and display them in a format that can be ingested by a database.
#sadf -p -P 1
Extract CPU statistics for processor 1 (the second processor) from current daily data file, and display them in a format that can easily be handled by a pattern processing command.