- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ResidentMemory (0.1 sec)
-
cmd/metrics-v3-system-process.go
func loadProcStatMetrics(ctx context.Context, stat procfs.ProcStat, m MetricValues) { if stat.CPUTime() > 0 { m.Set(processCPUTotalSeconds, float64(stat.CPUTime())) } if stat.ResidentMemory() > 0 { m.Set(processResidentMemoryBytes, float64(stat.ResidentMemory())) } if stat.VirtualMemory() > 0 { m.Set(processVirtualMemoryBytes, float64(stat.VirtualMemory())) } startTime, err := stat.StartTime() if err != nil {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 26 16:07:23 UTC 2024 - 6.4K bytes - Viewed (0)