Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for latestDriveStats (0.06 sec)

  1. cmd/metrics-resource.go

    	latestDriveStatsMu.Lock()
    	for d, dm := range m.ByDisk {
    		labels := map[string]string{"drive": d}
    		latestStats, ok := latestDriveStats[d]
    		if !ok {
    			latestDriveStats[d] = dm.IOStats
    			continue
    		}
    		updateDriveIOStats(dm.IOStats, latestStats, labels)
    		latestDriveStats[d] = dm.IOStats
    	}
    	lastDriveStatsRefresh = time.Now().UTC()
    	latestDriveStatsMu.Unlock()
    
    	globalLocalDrivesMu.RLock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 23:30:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top