public class NetworkDevices
extends java.lang.Object
implements java.lang.Runnable
/proc/net/dev.
Schedule an instance to run periodically to gather statistics for each interface.
| Modifier and Type | Class and Description |
|---|---|
static class |
NetworkDevices.Interface
A network interface.
|
| Modifier and Type | Field and Description |
|---|---|
<any> |
interfaces
An immutable map of all interfaces (vs name).
|
| Constructor and Description |
|---|
NetworkDevices()
Enumerate all network devices.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run() |