ksar not opening file
Status: Beta
Brought to you by:
xcherif
I have the following set in my /etc/cron.d/sysstat
*/3 * * * * root /usr/lib64/sa/sa1 -S DISK 1 1
53 23 * * * root /usr/lib64/sa/sa2 -A
...and the resulting sarXX it produces is easily opened by ksar providing me the data I need.
However if as root I manually run /usr/lib64/sa/sa2 -A for mid day stats, ksar won\'t open it. I go to DATA --> Load from text file... --> select the sar file and nothing happens.
I have attached a goodsar and badsar file for your review. goodsar is sar09 and badsar is sar10 (which I manually ran sa2 -A), both are from the same server.
Please advise!
Thanks for such a great tool.
Brenden
goodsar and badsar
I had the same issue, and it drove me crazy... The solution is to ovveride the language environment (and thus the time format) to ANSI C:
LC_ALL=C /usr/lib/sa/sa2 -A
BTW I'm using kSar-5.1.0-beta4
Hope this helps.