Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for totalWrites (0.13 sec)

  1. cmd/xl-storage-disk-id-check.go

    	}
    
    	si := p.updateStorageMetrics(storageMetricDiskInfo)
    	defer si(0, &err)
    
    	if opts.NoOp {
    		if opts.Metrics {
    			info.Metrics = p.getMetrics()
    		}
    		info.Metrics.TotalWrites = p.totalWrites.Load()
    		info.Metrics.TotalDeletes = p.totalDeletes.Load()
    		info.Metrics.TotalWaiting = uint32(p.health.waiting.Load())
    		info.Metrics.TotalErrorsTimeout = p.totalErrsTimeout.Load()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. cmd/storage-datatypes.go

    	TotalErrorsAvailability uint64             `json:"totalErrsAvailability"`
    	TotalErrorsTimeout      uint64             `json:"totalErrsTimeout"`
    	TotalWrites             uint64             `json:"totalWrites"`
    	TotalDeletes            uint64             `json:"totalDeletes"`
    }
    
    // VolsInfo is a collection of volume(bucket) information
    type VolsInfo []VolInfo
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. cmd/storage-datatypes_gen.go

    			z.TotalErrorsTimeout, err = dc.ReadUint64()
    			if err != nil {
    				err = msgp.WrapError(err, "TotalErrorsTimeout")
    				return
    			}
    		case "TotalWrites":
    			z.TotalWrites, err = dc.ReadUint64()
    			if err != nil {
    				err = msgp.WrapError(err, "TotalWrites")
    				return
    			}
    		case "TotalDeletes":
    			z.TotalDeletes, err = dc.ReadUint64()
    			if err != nil {
    				err = msgp.WrapError(err, "TotalDeletes")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  4. cmd/metrics-v2.go

    		objLayer := newObjectLayerFn()
    
    		metrics = make([]MetricV2, 0, 50)
    		storageInfo := objLayer.LocalStorageInfo(ctx, true)
    		onlineDrives, offlineDrives := getOnlineOfflineDisksStats(storageInfo.Disks)
    		totalDrives := onlineDrives.Merge(offlineDrives)
    
    		for _, disk := range storageInfo.Disks {
    			metrics = append(metrics, MetricV2{
    				Description:    getNodeDriveUsedBytesMD(),
    				Value:          float64(disk.UsedSpace),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  5. cmd/xl-storage.go

    	if err != nil {
    		// We start off with '0' if we can read the attributes
    		return 0
    	}
    	return binary.LittleEndian.Uint64(buf[:8])
    }
    
    func (s *xlStorage) getWriteAttribute() uint64 {
    	attr := "user.total_writes"
    	buf, err := xattr.LGet(s.formatFile, attr)
    	if err != nil {
    		// We start off with '0' if we can read the attributes
    		return 0
    	}
    
    	return binary.LittleEndian.Uint64(buf[:8])
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top