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
SigarException
public long getRxBytes()
Supported Platforms: All.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -i
ifconfig
public long getRxPackets()
Supported Platforms: All.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -i
ifconfig
public long getRxErrors()
Supported Platforms: All.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -i
ifconfig
public long getRxDropped()
Supported Platforms: Undocumented.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -i
ifconfig
public long getRxOverruns()
Supported Platforms: Undocumented.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -i
ifconfig
public long getRxFrame()
Supported Platforms: Undocumented.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -i
ifconfig
public long getTxBytes()
Supported Platforms: All.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -i
ifconfig
public long getTxPackets()
Supported Platforms: All.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -i
ifconfig
public long getTxErrors()
Supported Platforms: Undocumented.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -i
ifconfig
public long getTxDropped()
Supported Platforms: Undocumented.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -i
ifconfig
public long getTxOverruns()
Supported Platforms: Undocumented.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -i
ifconfig
public long getTxCollisions()
Supported Platforms: Undocumented.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -i
ifconfig
public long getTxCarrier()
Supported Platforms: Undocumented.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -i
ifconfig
public long getSpeed()
Supported Platforms: Undocumented.
System equivalent commands:
/usr/sbin/lanadmin -g mibstats 0, netstat -i
ifconfig
public java.util.Map toMap()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright ? 2004-2011 Hyperic. All Rights Reserved.