#5 no data loaded

closed-accepted
parser (12)
5
2010-09-12
2010-09-10
Mike Medved
No

Hi - I posted the earlier issue where kSar was throwing an error on parsing the simplest sar text file. I was told to move from 5.0x to 5.1x, which I did.

Now there is no error throw (good), but also nothing displayed in the tree and therefore no pretty graphs to look at (bad). No errors in the console as far as I can tell. The time range looks correct in the bottom of the window. Attaching my input file.

Discussion

  • Mike Medved

    Mike Medved - 2010-09-10
     
  • Mike Medved

    Mike Medved - 2010-09-10

    Update:

    If I run:
    LC_ALL=C sar 1 10 -A > output2.txt

    then kSar will load the data, but it thinks it is only 1 seconds worth, and all the graphs are empty. The following errors are thrown:

    Socket irec/sis NaN
    Socket ihdrerr/sis NaN
    Socket imsg/sis NaN
    Socket ierr/sis NaN
    Socket active/sis NaN
    Exception in thread "Thread-6" java.lang.ArrayIndexOutOfBoundsException: 5
    at net.atomique.ksar.Graph.Graph.parse_line(Graph.java:107)
    at net.atomique.ksar.Parser.Linux.parse(Linux.java:193)
    at net.atomique.ksar.kSar.parse(kSar.java:213)
    at net.atomique.ksar.FileRead.run(FileRead.java:74)
    WARN: color not found for tag %irq
    WARN: color not found for tag %soft
    WARN: color not found for tag %guest
    WARN: color not found for tag %irq
    WARN: color not found for tag %soft
    WARN: color not found for tag %guest
    WARN: color not found for tag %irq
    WARN: color not found for tag %soft
    WARN: color not found for tag %guest

    If I then run (note the lack of LC_ALL):

    sar 1 10 -A > output3.txt

    kSar will load the data without spitting out an errors to the command line, the time looks correct on the bottom of the window, but there is nothing in the tree, and therefore no pretty charts. When I load this one, I use the AM | PM format. Adding the files.

     
  • Mike Medved

    Mike Medved - 2010-09-10
     
  • Mike Medved

    Mike Medved - 2010-09-10
     
  • Alexandre Cherif

    Re,

    i will have a look, that should be working

     
  • Alexandre Cherif

    Hi,

    the fix to you problem has been released, if you got some time to test it

    Regards

     
  • Alexandre Cherif

    Hi,

    Beta3 should able to read you data now

    Regards

     
  • Alexandre Cherif

    • labels: --> parser
    • assigned_to: nobody --> xcherif
    • status: open --> closed-accepted
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks