Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for GetInfo (0.06 sec)

  1. cmd/xl-storage.go

    	return s, nil
    }
    
    // getDiskInfo returns given disk information.
    func getDiskInfo(drivePath string) (di disk.Info, rootDrive bool, err error) {
    	if err = checkPathLength(drivePath); err == nil {
    		di, err = disk.GetInfo(drivePath, false)
    
    		if !globalIsCICD && !globalIsErasureSD {
    			if globalRootDiskThreshold > 0 {
    				// Use MINIO_ROOTDISK_THRESHOLD_SIZE to figure out if
    				// this disk is a root disk. treat those disks with
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    			localNetInfo := madmin.GetNetInfo(globalLocalNodeName, globalInternodeInterface)
    			healthInfo.Sys.NetInfo = append(healthInfo.Sys.NetInfo, localNetInfo)
    
    			peerNetInfos := globalNotificationSys.GetNetInfo(healthCtx)
    			for _, n := range peerNetInfos {
    				anonymizeAddr(&n)
    				healthInfo.Sys.NetInfo = append(healthInfo.Sys.NetInfo, n)
    			}
    			partialWrite(healthInfo)
    		}
    	}
    
    	getAndWriteOSInfo := func() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
  3. cmd/peer-rest-server.go

    	madminBgHealState      = grid.NewJSONPool[madmin.BgHealState]()
    	madminCPUs             = grid.NewJSONPool[madmin.CPUs]()
    	madminMemInfo          = grid.NewJSONPool[madmin.MemInfo]()
    	madminNetInfo          = grid.NewJSONPool[madmin.NetInfo]()
    	madminOSInfo           = grid.NewJSONPool[madmin.OSInfo]()
    	madminPartitions       = grid.NewJSONPool[madmin.Partitions]()
    	madminProcInfo         = grid.NewJSONPool[madmin.ProcInfo]()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  4. cmd/notification.go

    			sys.addNodeErr(&reply[index], sys.peerClients[index], err)
    		}
    	}
    	return reply
    }
    
    // GetNetInfo - Network information
    func (sys *NotificationSys) GetNetInfo(ctx context.Context) []madmin.NetInfo {
    	reply := make([]madmin.NetInfo, len(sys.peerClients))
    
    	g := errgroup.WithNErrs(len(sys.peerClients))
    	for index, client := range sys.peerClients {
    		if client == nil {
    			continue
    		}
    		index := index
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool.go

    	reqInfo := (&logger.ReqInfo{}).AppendTags("maintenance", strconv.FormatBool(opts.Maintenance))
    
    	type setInfo struct {
    		online  int
    		healing int
    	}
    
    	var drivesHealing int
    
    	erasureSetUpCount := make([][]setInfo, len(z.serverPools))
    	for i := range z.serverPools {
    		erasureSetUpCount[i] = make([]setInfo, len(z.serverPools[i].sets))
    	}
    
    	storageInfo := z.StorageInfo(ctx, false)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  6. cmd/peer-rest-client.go

    	return resp.ValueOrZero(), err
    }
    
    // GetNetInfo - fetch network information for a remote node.
    func (client *peerRESTClient) GetNetInfo(ctx context.Context) (info madmin.NetInfo, err error) {
    	resp, err := getNetInfoRPC.Call(ctx, client.gridConn(), grid.NewMSS())
    	return resp.ValueOrZero(), err
    }
    
    // GetPartitions - fetch disk partition information for a remote node.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
Back to top