static void closeOSStats() { if(isLinux()) { LinuxProcFsStatistics.close(); } else { HostStatHelper.close(); } }
static void closeOSStats() { if(isLinux()) { LinuxProcFsStatistics.close(); } else { HostStatHelper.close(); } }
static void readyRefreshOSStats() { if(isLinux()) { LinuxProcFsStatistics.readyRefresh(); } else { HostStatHelper.readyRefresh(); } }
static int initOSStats() { if(isLinux()) { return LinuxProcFsStatistics.init(); } else { return HostStatHelper.init(); } }
static int initOSStats() { if(isLinux()) { return LinuxProcFsStatistics.init(); } else { return HostStatHelper.init(); } }
static void readyRefreshOSStats() { if(isLinux()) { LinuxProcFsStatistics.readyRefresh(); } else { HostStatHelper.readyRefresh(); } }
if (PureJavaMode.osStatsAreAvailable() && HostStatHelper.isLinux() && systemStat != null) {
if (HostStatHelper.isLinux() && systemStat != null) {
private static native void refreshSystem(int[] ints, long[] longs, double[] doubles);
private static native void refreshSystem(int[] ints, long[] longs, double[] doubles);
private static native void refreshProcess(int pid, int[] ints, long[] longs, double[] doubles); /**
private static native void refreshProcess(int pid, int[] ints, long[] longs, double[] doubles); /**
} else if (HostStatHelper.isLinux()) { systemStats = system.findStatisticsByType(LinuxSystemStats.getType()); } else if (HostStatHelper.isOSX()) {
} else if (HostStatHelper.isLinux()) { systemStats = system.findStatisticsByType(LinuxSystemStats.getType()); } else if (HostStatHelper.isOSX()) {
} else if (HostStatHelper.isLinux()) { systemStats = system.findStatisticsByType(LinuxSystemStats.getType()); } else if (HostStatHelper.isOSX()) {