- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getSystemCpuPercent (0.22 sec)
-
src/main/java/org/codelibs/fess/helper/SystemHelper.java
final short percent = ComponentUtil.getFessConfig().getAdaptiveLoadControlAsInteger().shortValue(); if (percent <= 0) { return true; } short current = getSystemCpuPercent(); if (current < percent) { return true; } final long startTime = getCurrentTimeAsLong(); final String threadName = Thread.currentThread().getName(); try {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Oct 17 12:10:08 UTC 2024 - 27.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java
append(buf, "total", () -> osProbe.getTotalSwapSpaceSize()); buf.append('}'); buf.append("},"); buf.append("\"cpu\":{"); append(buf, "percent", () -> osProbe.getSystemCpuPercent()); final OsStats osStats = osProbe.osStats(); buf.append("},"); append(buf, "load_averages", () -> osStats.getCpu().getLoadAverage()); buf.append("},"); }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 7.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java
osMemorySwapSpaceObj.total = osProbe.getTotalSwapSpaceSize(); final OsCpuObj osCpuObj = new OsCpuObj(); osObj.cpu = osCpuObj; osCpuObj.percent = osProbe.getSystemCpuPercent(); final OsStats osStats = osProbe.osStats(); osObj.loadAverages = osStats.getCpu().getLoadAverage(); return osObj; } private EngineObj getEngineObj() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.1K bytes - Viewed (0)