Menu

#4 Failing during parsing data

closed
nobody
None
5
2010-09-10
2010-09-09
Anonymous
No

Hi - I'm trying to get kSar to read the most trivial of data files, and am getting java errors. Attached is the output of the command I run, which is:

sar 1 10 > output.txt

Here is the java error I get:
java.lang.NumberFormatException: For input string: "all"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1224)
at java.lang.Float.valueOf(Float.java:388)
at java.lang.Float.<init>(Float.java:489)
at net.atomique.ksar.Linux.Parser.parse(Parser.java:624)
at net.atomique.ksar.kSar.parse(kSar.java:750)
at net.atomique.ksar.FileRead.run(FileRead.java:62)

I'm running ubuntu, sysstat version 9.0.6.

Help?!?

Discussion

  • Alexandre Cherif

    • status: open --> closed
     
  • Alexandre Cherif

    Hi,

    you running a older version of kSar (depending on the version number some sar file might be not parsed). could you please try the 5.1.0-beta which will parse your data ?

    the 4.X 5.0.X branches will not be updated only 5.1.X will

    Regards

     

Log in to post a comment.