- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 130 for Meminfo (0.16 sec)
-
platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/MemInfoOsMemoryInfo.java
} /** * Given output from /proc/meminfo, return a system memory snapshot. */ @VisibleForTesting OsMemoryStatusSnapshot getOsSnapshotFromMemInfo(final List<String> meminfoLines) { final Meminfo meminfo = new Meminfo(); for (String line : meminfoLines) { if (line.startsWith("MemAvailable")) { meminfo.setAvailable(parseMeminfoBytes(line));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:10:02 UTC 2023 - 5.5K bytes - Viewed (0) -
platforms/core-runtime/process-services/src/test/groovy/org/gradle/process/internal/health/memory/MemInfoOsMemoryInfoTest.groovy
} def "throws unsupported operation exception when non-numeric values are provided"() { when: new MemInfoOsMemoryInfo().getOsSnapshotFromMemInfo(meminfo) then: thrown(UnsupportedOperationException) where: meminfo << [["bogustown"], bogusMeminfoLinux3(), bogusMeminfoLinux4()] } private static List<String> meminfoLinux3() { """MemTotal: 49463180 kB
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:10:02 UTC 2023 - 6.9K bytes - Viewed (0) -
cmd/metrics-v3-cache.go
} return cachevalue.NewFromFunc(1*time.Minute, cachevalue.Opts{ReturnLastGood: true}, loadCPUMetrics) } func newMemoryMetricsCache() *cachevalue.Cache[madmin.MemInfo] { loadMemoryMetrics := func(ctx context.Context) (v madmin.MemInfo, err error) { var types madmin.MetricType = madmin.MetricsMem m := collectLocalMetrics(types, collectMetricsOpts{ hosts: map[string]struct{}{ globalLocalNodeName: {},
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 09 00:51:34 UTC 2024 - 8.1K bytes - Viewed (0) -
pkg/kubelet/winstats/perfcounter_nodestats.go
// On some VM, it is unable to read data from SMBIOS and fails with ERROR_INVALID_DATA. // 2. On Linux node, total physical memory is read from MemTotal in /proc/meminfo. // GlobalMemoryStatusEx returns the amount of physical memory that is available // for the operating system to use. The amount returned by GlobalMemoryStatusEx // is closer in parity with Linux
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 26 18:37:21 UTC 2024 - 9.2K bytes - Viewed (0) -
cmd/peer-rest-server.go
madminBgHealState = grid.NewJSONPool[madmin.BgHealState]() madminCPUs = grid.NewJSONPool[madmin.CPUs]() madminMemInfo = grid.NewJSONPool[madmin.MemInfo]() madminNetInfo = grid.NewJSONPool[madmin.NetInfo]() madminOSInfo = grid.NewJSONPool[madmin.OSInfo]() madminPartitions = grid.NewJSONPool[madmin.Partitions]() madminProcInfo = grid.NewJSONPool[madmin.ProcInfo]()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 52.1K bytes - Viewed (0) -
hack/lib/golang.sh
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 16:43:08 UTC 2024 - 32.8K bytes - Viewed (0) -
cmd/admin-handlers.go
anonymizeAddr(&localMemInfo) healthInfo.Sys.MemInfo = append(healthInfo.Sys.MemInfo, localMemInfo) peerMemInfos := globalNotificationSys.GetMemInfo(healthCtx) for _, m := range peerMemInfos { anonymizeAddr(&m) healthInfo.Sys.MemInfo = append(healthInfo.Sys.MemInfo, m) } partialWrite(healthInfo) } } getAndWriteSysErrors := func() {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 98K bytes - Viewed (0) -
cmd/notification.go
// context already canceled no retries. retryCount = 0 } // Last iteration log the error. if i == retryCount-1 { reqInfo := (&logger.ReqInfo{}).AppendTags("peerAddress", addr.String()) ctx := logger.SetReqInfo(ctx, reqInfo) peersLogOnceIf(ctx, err, addr.String()) } // Wait for a minimum of 100ms and dynamically increase this based on number of attempts.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 44.9K bytes - Viewed (0) -
cmd/peer-rest-client.go
return resp.ValueOrZero(), err } // GetMemInfo - fetch memory information for a remote node. func (client *peerRESTClient) GetMemInfo(ctx context.Context) (info madmin.MemInfo, err error) { resp, err := getMemInfoRPC.Call(ctx, client.gridConn(), grid.NewMSS()) return resp.ValueOrZero(), err } // GetMetrics - fetch metrics from a remote node.
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 26.1K bytes - Viewed (0) -
internal/logger/reqinfo.go
return &ReqInfo{ RemoteHost: remoteHost, UserAgent: userAgent, API: api, DeploymentID: deploymentID, RequestID: requestID, BucketName: bucket, ObjectName: object, } } // AppendTags - appends key/val to ReqInfo.tags func (r *ReqInfo) AppendTags(key string, val interface{}) *ReqInfo { if r == nil { return nil } r.Lock()
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 4.4K bytes - Viewed (0)