Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
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 188.8.131.52-2 on Ubuntu 10.10 and ksar 5.0.6
Is there any update about this bug/error?
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.
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.