- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for getCpu (0.11 sec)
-
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 {
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
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 {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 12.1K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java
private static class OptionComparator implements Comparator<Option> { public int compare(Option opt1, Option opt2) { String s1 = opt1.getOpt() != null ? opt1.getOpt() : opt1.getLongOpt(); String s2 = opt2.getOpt() != null ? opt2.getOpt() : opt2.getLongOpt(); return s1.compareToIgnoreCase(s2); } } private static class CLIManagerExtension extends CLIManager {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
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;;
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sun Jan 15 06:32:15 UTC 2023 - 5.4K bytes - Viewed (0) -
lib/wasm/wasm_exec.js
const args = loadSliceOfValues(sp + 32); const result = Reflect.apply(m, v, args); sp = this._inst.exports.getsp() >>> 0; // see comment above storeValue(sp + 56, result); this.mem.setUint8(sp + 64, 1); } catch (err) { sp = this._inst.exports.getsp() >>> 0; // see comment above storeValue(sp + 56, err); this.mem.setUint8(sp + 64, 0); } },
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Fri Aug 30 19:15:21 UTC 2024 - 16.5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java
StringBuilder sb = new StringBuilder(); sb.append("The option "); if (option.getOpt() != null) { sb.append("-").append(option.getOpt()); } if (option.getLongOpt() != null) { if (option.getOpt() != null) { sb.append(","); } sb.append("--").append(option.getLongOpt());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.5K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/CommonsCliEncryptOptions.java
commandLineBuilder.setDeprecatedHandler(o -> {}); for (Option option : options.commandLine.getOptions()) { if (!CLIManager.USER_PROPERTY.equals(option.getOpt())) { List<String> values = option.getValuesList(); for (ListIterator<String> it = values.listIterator(); it.hasNext(); ) { it.set(interpolator.interpolate(it.next()));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
cmd/peer-rest-client.go
resp, err := serverInfoRPC.Call(ctx, client.gridConn(), grid.NewMSSWith(map[string]string{peerRESTMetrics: strconv.FormatBool(metrics)})) return resp.ValueOrZero(), err } // GetCPUs - fetch CPU information for a remote node. func (client *peerRESTClient) GetCPUs(ctx context.Context) (info madmin.CPUs, err error) { resp, err := getCPUsHandler.Call(ctx, client.gridConn(), grid.NewMSS()) return resp.ValueOrZero(), err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 26.1K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java
commandLineBuilder.setDeprecatedHandler(o -> {}); for (Option option : options.commandLine.getOptions()) { if (!CLIManager.USER_PROPERTY.equals(option.getOpt())) { List<String> values = option.getValuesList(); for (ListIterator<String> it = values.listIterator(); it.hasNext(); ) { it.set(interpolator.interpolate(it.next()));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 16K bytes - Viewed (0) -
cmd/notification.go
if nErr.Err != nil { peersLogOnceIf(logger.SetReqInfo(ctx, reqInfo), nErr.Err, nErr.Host.String()) } } } // GetCPUs - Get all CPU information. func (sys *NotificationSys) GetCPUs(ctx context.Context) []madmin.CPUs { reply := make([]madmin.CPUs, len(sys.peerClients)) g := errgroup.WithNErrs(len(sys.peerClients)) for index, client := range sys.peerClients {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 09 16:58:30 UTC 2024 - 46.2K bytes - Viewed (0)