Menu

#10 java.lang.NumberFormatException: For input string: "irec/s

open
nobody
parser (12)
5
2015-01-15
2011-01-31
enid vx
No

Hi,
I'm getting this error " java.lang.NumberFormatException: For input string: "irec/s" " when I try to run the local command "sar -A 2"
I have sysstat 9.0.6.1-2 on Ubuntu 10.10 and ksar 5.0.6
Is there any update about this bug/error?
Regards,
Enid

Discussion

  • enid vx

    enid vx - 2011-01-31

    On "man sar" it says that

    "sar -A" is equivalent to "sar -bBdqrRSuvwWy -I ALL -n ALL -u ALL -P ALL"
    and only when I enter sar -bBdqrRSuvwWy -n ALL 2" or "sar -n ALL 2" I get the error and the graphs are not showing, so only the "-n ALL" triggers the error.

    Regards

     
  • enid vx

    enid vx - 2011-01-31

    To narrow down the problem I found that "-n" has these possible values: DEV, EDEV, NFS, NFSD, SOCK, IP, EIP, ICMP, EICMP, TCP, ETCP, UDP, SOCK6, IP6, EIP6, ICMP6, EICMP6 and UDP6.

    So when I enter "sar -n DEV 2" the graphs displays correctly for the local ethernet devices.

    BR

     

Log in to post a comment.