public class LinuxGlobalMemory extends AbstractGlobalMemory
memAvailable, memTotal, swapTotal, swapUsed| Constructor and Description |
|---|
LinuxGlobalMemory() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
updateMeminfo()
Updates instance variables from reading /proc/meminfo no more frequently
than every 100ms.
|
protected void |
updateSwap()
Updates virtual memory instance variables.
|
getAvailable, getSwapTotal, getSwapUsed, getTotalprotected void updateMeminfo()
updateMeminfo in class AbstractGlobalMemoryprotected void updateSwap()
updateSwap in class AbstractGlobalMemoryCopyright © 2010–2018 oshi. All rights reserved.