2

I am using two different version on ubuntu one is 14.04 and other is 15.10. I want to read 14.04 systems sar files from ubuntu 15.10 system. I have transferred the sar files but can't read it.

  • What is the exact way you are trying to read them and what is the error message you are getting? – Istvan Feb 17 '16 at 10:44
  • I am using the command # sar -pd -f sa08 and the error is: Invalid system activity file: sa08 File created by sar/sadc from sysstat version 10.2.0 Current sysstat version cannot read the format of this file (0x2171) – Pradip Das Feb 17 '16 at 16:53
  • I am using SYSSTAT version 11.1.5. I know its different version but I want know is there any way to make it happen with different version of SYSSTAT. – Pradip Das Feb 17 '16 at 17:02
1

Different version of sar files are not necessarily compatible and I think the file format changed between those versions you have. You can either downgrade sar on your system or try to install the exact version you have on the older system. If you just need the information you can dump out it to text version on the older box .

See one example from SO:

https://stackoverflow.com/questions/15348914/output-sar-command-results-to-a-csv-file

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.