Package oshi.hardware.platform.linux
Class LinuxNetworks
- java.lang.Object
-
- oshi.hardware.common.AbstractNetworks
-
- oshi.hardware.platform.linux.LinuxNetworks
-
- All Implemented Interfaces:
java.io.Serializable
,Networks
public class LinuxNetworks extends AbstractNetworks
- Author:
- enrico[dot]bianchi[at]gmail[dot]com
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LinuxNetworks()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
updateNetworkStats(NetworkIF netIF)
Updates interface network statistics on the given interface.-
Methods inherited from class oshi.hardware.common.AbstractNetworks
getNetworks
-
-
-
-
Method Detail
-
updateNetworkStats
public static void updateNetworkStats(NetworkIF netIF)
Updates interface network statistics on the given interface. Statistics include packets and bytes sent and received, and interface speed.- Parameters:
netIF
- The interface on which to update statistics
-
-