Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetTotalUsableCapacity (0.13 sec)

  1. cmd/admin-handlers.go

    		return
    	}
    
    	// Get capacity info when asked.
    	if r.Form.Get("capacity") == "true" {
    		sinfo := objectAPI.StorageInfo(ctx, false)
    		dataUsageInfo.TotalCapacity = GetTotalUsableCapacity(sinfo.Disks, sinfo)
    		dataUsageInfo.TotalFreeCapacity = GetTotalUsableCapacityFree(sinfo.Disks, sinfo)
    		if dataUsageInfo.TotalCapacity > dataUsageInfo.TotalFreeCapacity {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    			Value:       float64(GetTotalCapacityFree(storageInfo.Disks)),
    		})
    
    		metrics = append(metrics, MetricV2{
    			Description: getClusterCapacityUsageBytesMD(),
    			Value:       float64(GetTotalUsableCapacity(storageInfo.Disks, storageInfo)),
    		})
    
    		metrics = append(metrics, MetricV2{
    			Description: getClusterCapacityUsageFreeBytesMD(),
    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