[Ksar-announce] Ksar support for RHEL 7 sar
Status: Beta
Brought to you by:
xcherif
From: <ksa...@li...> - 2016-01-28 12:46:36
|
Hello, I am unable to parse sar o/p from RHEL 7 [root@atddpvm2 ksar]# /opt/ksar/run.sh -input /tmp/sar.txt -outputCSV /tmp/sar.csv java.lang.IllegalArgumentException: The 'month' argument must be in the range 1 to 12. at org.jfree.date.SpreadsheetDate.<init>(SpreadsheetDate.java:124) at org.jfree.date.SerialDate.createInstance(SerialDate.java:795) at org.jfree.data.time.Day.<init>(Day.java:126) at org.jfree.data.time.Minute.<init>(Minute.java:175) at org.jfree.data.time.Second.<init>(Second.java:136) at net.atomique.ksar.Linux.Parser.parse(Parser.java:153) at net.atomique.ksar.kSar.parse(kSar.java:735) at net.atomique.ksar.FileRead.run(FileRead.java:62) I tried some work-around but still it didn't worked :( [root@atddpvm2 ksar]# DT="10" [root@atddpvm2 ksar]# LC_ALL=C sar -A -f /var/log/sa/sa$DT > /tmp/sar-atddpvm2-$DT.txt [root@atddpvm2 ksar]# /opt/ksar/run.sh -input /tmp/sar-atddpvm2-10.txt -outputCSV /tmp/sar.csv java.lang.NumberFormatException: For input string: "kbhugfree" at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1250) at java.lang.Float.valueOf(Float.java:417) at java.lang.Float.<init>(Float.java:519) at net.atomique.ksar.Linux.Parser.parse(Parser.java:1041) at net.atomique.ksar.kSar.parse(kSar.java:735) at net.atomique.ksar.FileRead.run(FileRead.java:62) Thanks & Regards Akshay Tata Consultancy Services Cell:- 9985084075 Mailto: aks...@tc... Website: http://www.tcs.com ____________________________________________ Experience certainty. IT Services Business Solutions Consulting ____________________________________________ =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you |