java.lang.NumberFormatException: For input string: "irec/s
Status: Beta
Brought to you by:
xcherif
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
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
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