Unable to view output of Sar File for memory

Hi

I am unable to view the output of sar file using below command

sar -f sar07, it is showing below error.

Invalid system activity file: sar07 (0x920)

above file is in location /var/log/sa

wheather for memory it is creating the file at different location?

Try /var/log/sa/sa07. sar* files are text summaries. sa* files are data to be used with the sar command. See the sar man page.

# pwd
/var/log/sa
 
# file *
sa01:  data
sa02:  data
sa03:  data
sa04:  data
sa05:  data
sa06:  data
sa07:  data
sa08:  data
sa09:  data
sar01: ASCII text
sar02: ASCII text
sar03: ASCII text
sar04: ASCII text
sar05: ASCII text
sar06: ASCII text
sar07: ASCII text
sar08: ASCII text