vlsi / ksar

A sar grapher, fork of http://sourceforge.net/projects/ksar/
Other
245 stars 59 forks source link

ERROR net.atomique.ksar.parser.Linux - unable to parse time #283

Closed mmshahimin closed 1 year ago

mmshahimin commented 1 year ago

Hello,

I downloaded the ksar-5.2.4.jar into my Windows 11 laptop running java version "1.8.0_321". Then I downloaded sar files from my server and tried to load the file and no output from the tool. Upon checking the log, I found the below error:

2023-04-26 11:42:58.222 [Thread-8] ERROR net.atomique.ksar.parser.Linux - unable to parse time 11:50:01 java.lang.IllegalArgumentException: date/time is missing at net.atomique.ksar.parser.Linux.parse(Linux.java:144) at net.atomique.ksar.kSar.parse(kSar.java:147) at net.atomique.ksar.FileRead.run(FileRead.java:80) 2023-04-26 11:42:58.222 [Thread-8] ERROR net.atomique.ksar.kSar - L40619 11:50:01 PM 629 48 71 0 0 6

Please find the sample sar01 file used. sar01.txt

Thank you, Mizwan

Pitterling commented 1 year ago

make sure you have selected the correct date/time format for processing (last list entry) or just use automatic detection which is also working fine.

image

image