Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetCPUs (0.04 sec)

  1. cmd/notification.go

    		if nErr.Err != nil {
    			peersLogOnceIf(logger.SetReqInfo(ctx, reqInfo), nErr.Err, nErr.Host.String())
    		}
    	}
    }
    
    // GetCPUs - Get all CPU information.
    func (sys *NotificationSys) GetCPUs(ctx context.Context) []madmin.CPUs {
    	reply := make([]madmin.CPUs, len(sys.peerClients))
    
    	g := errgroup.WithNErrs(len(sys.peerClients))
    	for index, client := range sys.peerClients {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 45.9K bytes
    - Viewed (0)
  2. cmd/admin-handlers.go

    		}
    	}
    
    	getAndWriteCPUs := func() {
    		if query.Get("syscpu") == "true" {
    			localCPUInfo := madmin.GetCPUs(healthCtx, globalLocalNodeName)
    			anonymizeAddr(&localCPUInfo)
    			healthInfo.Sys.CPUInfo = append(healthInfo.Sys.CPUInfo, localCPUInfo)
    
    			peerCPUInfo := globalNotificationSys.GetCPUs(healthCtx)
    			for _, cpuInfo := range peerCPUInfo {
    				anonymizeAddr(&cpuInfo)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
Back to top