Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ResidentMemory (0.12 sec)

  1. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 20 17:55:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    					Description: getMinIOProcessUptimeMD(),
    					Value:       time.Since(globalBootTime).Seconds(),
    				})
    		}
    
    		if stat.ResidentMemory() > 0 {
    			metrics = append(metrics,
    				MetricV2{
    					Description: getMinIOProcessResidentMemory(),
    					Value:       float64(stat.ResidentMemory()),
    				})
    		}
    
    		if stat.VirtualMemory() > 0 {
    			metrics = append(metrics,
    				MetricV2{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
Back to top