sar will use the date_fmt string of LC_TIME in the user's environment to generate a sar report from the saXX file. If the LC_TIME definition does not specify the format for hours,minutes, seconds as %HH%MM%SS, in other words a 24 hour clock representation, then sar prints time stamps as, for example 10:00 AM ... and 10:00 PM...
If the same sar data segment say for the -p option (or any other) includes both AM and PM time stamps, ksar will generate an error on the second of the two entries, claiming they are dups. It will complete the graph, but omit all duplicates. In the obviouse case where the sar file starts at 01:00 AM, and ends at 11:59 PM, only the AM entries will be graphed.
I do not suggest ksar should try to support the AM/PM motif, only that some discussion in the doc should point the user at his/her locale to get sar to do the right thing for ksar.
Below perl script can be used to convert the sar file to 24 hours clock representation
Last edit: fvalente 2016-03-04