- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for getSystemCpuPercent (0.17 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/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)