public class NetInterfaceStat
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
NetInterfaceStat() |
| Modifier and Type | Method and Description |
|---|---|
void |
gather(Sigar sigar,
java.lang.String name) |
long |
getRxBytes()
Get the rx_bytes.
|
long |
getRxDropped()
Get the rx_dropped.
|
long |
getRxErrors()
Get the rx_errors.
|
long |
getRxFrame()
Get the rx_frame.
|
long |
getRxOverruns()
Get the rx_overruns.
|
long |
getRxPackets()
Get the rx_packets.
|
long |
getSpeed()
Get the speed.
|
long |
getTxBytes()
Get the tx_bytes.
|
long |
getTxCarrier()
Get the tx_carrier.
|
long |
getTxCollisions()
Get the tx_collisions.
|
long |
getTxDropped()
Get the tx_dropped.
|
long |
getTxErrors()
Get the *.
|
long |
getTxOverruns()
Get the tx_overruns.
|
long |
getTxPackets()
Get the tx_packets.
|
java.util.Map |
toMap() |
java.lang.String |
toString() |
public void gather(Sigar sigar, java.lang.String name) throws SigarException
SigarExceptionpublic long getRxBytes()
Supported Platforms: All.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -iifconfigpublic long getRxPackets()
Supported Platforms: All.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -iifconfigpublic long getRxErrors()
Supported Platforms: All.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -iifconfigpublic long getRxDropped()
Supported Platforms: Undocumented.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -iifconfigpublic long getRxOverruns()
Supported Platforms: Undocumented.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -iifconfigpublic long getRxFrame()
Supported Platforms: Undocumented.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -iifconfigpublic long getTxBytes()
Supported Platforms: All.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -iifconfigpublic long getTxPackets()
Supported Platforms: All.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -iifconfigpublic long getTxErrors()
Supported Platforms: Undocumented.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -iifconfigpublic long getTxDropped()
Supported Platforms: Undocumented.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -iifconfigpublic long getTxOverruns()
Supported Platforms: Undocumented.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -iifconfigpublic long getTxCollisions()
Supported Platforms: Undocumented.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -iifconfigpublic long getTxCarrier()
Supported Platforms: Undocumented.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -iifconfigpublic long getSpeed()
Supported Platforms: Undocumented.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -iifconfigpublic java.util.Map toMap()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright ? 2004-2011 Hyperic. All Rights Reserved.