Failing during parsing data
Status: Beta
Brought to you by:
xcherif
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?!?
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Last edit: Anonymous 2013-08-31
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