Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CPUTime (0.06 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 {
    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

    				MetricV2{
    					Description: getMinIOProcessVirtualMemory(),
    					Value:       float64(stat.VirtualMemory()),
    				})
    		}
    
    		if stat.CPUTime() > 0 {
    			metrics = append(metrics,
    				MetricV2{
    					Description: getMinIOProcessCPUTime(),
    					Value:       stat.CPUTime(),
    				})
    		}
    		return
    	})
    	return mg
    }
    
    func getGoMetrics() *MetricsGroupV2 {
    	mg := &MetricsGroupV2{
    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