Menu

#12 java.lang.NumberFormatException NaNQ

v1.0 (example)
open
nobody
5
2014-08-21
2014-02-06
Ken
No

KSAR seems to be a great tool. For one of my AIX servers it yeilded nice PDF files with all the sar info. But for another server it seems the sar output has "NaNQ" showing up a lot and gives the errors below. So far I have not found anyone with this issue, similar NumberFormat issues were found but the solutions below seem to have no effect:

export LC_ALL=C
export S_TIME_FORMAT=ISO

Here is the output from when I run ksar and then load the data:

host1089:/tmp/ksar/kSar-5.0.6$ sh run.sh

Aix parser: org.jfree.data.general.SeriesException: You are attempting to add an >observation for the time period Tue Feb 04 00:10:00 CST 2014 but the series >already contains an observation for that time period. Duplicates are not >permitted. Try using the addOrUpdate() method.
Aix parser: org.jfree.data.general.SeriesException: You are attempting to add an >observation for the time period Tue Feb 04 00:20:00 CST 2014 but the series >already contains an observation for that time period. Duplicates are not >permitted. Try using the addOrUpdate() method.
java.lang.NumberFormatException: For input string: "NaNQ"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1241)
at java.lang.Float.valueOf(Float.java:417)
at java.lang.Float.<init>(Float.java:519)
at net.atomique.ksar.AIX.Parser.parse(Parser.java:455)
at net.atomique.ksar.kSar.parse(kSar.java:756)
at net.atomique.ksar.FileRead.run(FileRead.java:62)

Thanks for such a popular tool!

Discussion


Log in to post a comment.