Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for getCpu (0.06 seconds)

  1. src/main/java/org/codelibs/fess/timer/LoadControlMonitorTarget.java

                short maxCpu = 0;
                for (final NodeStats nodeStats : response.getNodes()) {
                    final OsStats os = nodeStats.getOs();
                    if (os != null && os.getCpu() != null) {
                        final short percent = os.getCpu().getPercent();
                        if (percent > maxCpu) {
                            maxCpu = percent;
                        }
                    }
                }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Tue Feb 10 04:24:02 GMT 2026
    - 3K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/timer/SystemMonitorTarget.java

            append(buf, "percent", () -> osProbe.getSystemCpuPercent());
            final OsStats osStats = osProbe.osStats();
            buf.append("},");
            append(buf, "load_averages", () -> osStats.getCpu().getLoadAverage());
            buf.append("},");
        }
    
        private void appendFesenStats(final StringBuilder buf) {
            String stats = null;
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/web/api/admin/stats/ApiAdminStatsAction.java

            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() {
            final EngineObj engineObj = new EngineObj();
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  4. src/main/assemblies/files/fess

        echo "    -X prop       set non-standard JAVA system property"
        echo "   --prop=val"
        echo "   --prop val     set fess property (i.e. -Des.<prop>=<val>)"
    }
    
    # Parse any long getopt options and put them into properties before calling getopt below
    # Be dash compatible to make sure running under ubuntu works
    ARGV=""
    while [ $# -gt 0 ]
    do
        case $1 in
          --help) ARGV="$ARGV -h"; shift;;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 5.4K bytes
    - Click Count (0)
Back to Top