- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for GetTotalCapacityFree (0.09 sec)
-
cmd/notification-summary.go
continue } // Ignore parity disks if disk.DiskIndex < s.Backend.StandardSCData[disk.PoolIndex] { capacity += disk.TotalSpace } } return } // GetTotalCapacityFree gets the total capacity free in the cluster. func GetTotalCapacityFree(diskInfo []madmin.Disk) (capacity uint64) { for _, d := range diskInfo { capacity += d.AvailableSpace } return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 20 00:53:08 UTC 2023 - 2.2K bytes - Viewed (0) -
cmd/metrics-v3-cluster-health.go
storageInfo := clusterDriveMetrics.storageInfo m.Set(healthCapacityRawTotalBytes, float64(GetTotalCapacity(storageInfo.Disks))) m.Set(healthCapacityRawFreeBytes, float64(GetTotalCapacityFree(storageInfo.Disks))) m.Set(healthCapacityUsableTotalBytes, float64(GetTotalUsableCapacity(storageInfo.Disks, storageInfo)))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Mar 10 09:15:15 UTC 2024 - 3.9K bytes - Viewed (0)