public class OshiUtils extends Object
| Modifier and Type | Field and Description | 
|---|---|
static oshi.hardware.GlobalMemory | 
memory  | 
static oshi.SystemInfo | 
oshiSystemInfo  | 
| Constructor and Description | 
|---|
OshiUtils()  | 
| Modifier and Type | Method and Description | 
|---|---|
static long | 
calcFreeSwapMemory(oshi.hardware.GlobalMemory memory)  | 
static OSStatistics.OSNetInterfaceStats[] | 
calcNetStats()  | 
static long | 
getActualUsedMemory(oshi.hardware.GlobalMemory memory)  | 
static double | 
getSystemCpuLoadBetweenTicks(long[] oldTicks,
                            long[] newTicks)  | 
static double | 
getUsedMemoryPerc(oshi.hardware.GlobalMemory memory)  | 
public static oshi.SystemInfo oshiSystemInfo
public static final oshi.hardware.GlobalMemory memory
public static double getUsedMemoryPerc(oshi.hardware.GlobalMemory memory)
public static long getActualUsedMemory(oshi.hardware.GlobalMemory memory)
public static long calcFreeSwapMemory(oshi.hardware.GlobalMemory memory)
public static OSStatistics.OSNetInterfaceStats[] calcNetStats()
public static double getSystemCpuLoadBetweenTicks(long[] oldTicks,
                                                  long[] newTicks)
Copyright © GigaSpaces.