Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for GetCPUsHandler (0.1 sec)

  1. cmd/peer-rest-server.go

    		return nil, grid.NewRemoteErr(err)
    	}
    	info := getLocalServerProperty(globalEndpoints, &r, metrics)
    	return madminServerProperties.NewJSONWith(&info), nil
    }
    
    // GetCPUsHandler - returns CPU info.
    func (s *peerRESTServer) GetCPUsHandler(_ *grid.MSS) (*grid.JSON[madmin.CPUs], *grid.RemoteErr) {
    	info := madmin.GetCPUs(context.Background(), globalLocalNodeName)
    	return madminCPUs.NewJSONWith(&info), nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
Back to top