Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FileDescriptorsLen (0.15 sec)

  1. cmd/metrics-v3-system-process.go

    			m.Set(processFileDescriptorLimitTotal, float64(l.OpenFiles))
    		}
    
    		if l.AddressSpace > 0 {
    			m.Set(processVirtualMemoryMaxBytes, float64(l.AddressSpace))
    		}
    	}
    
    	openFDs, err := p.FileDescriptorsLen()
    	if err != nil {
    		metricsLogIf(ctx, err)
    	} else if openFDs > 0 {
    		m.Set(processFileDescriptorOpenTotal, float64(openFDs))
    	}
    }
    
    // loadProcessMetrics - `MetricsLoaderFn` for process metrics
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 20 17:55:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top