Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getProcInfo (0.14 sec)

  1. pkg/ctrlz/topics/proc.go

    		fw.RenderHTML(w, tmpl, getProcInfo())
    	})
    
    	_ = context.JSONRouter().StrictSlash(true).NewRoute().Methods("GET").Path("/").HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
    		fw.RenderJSON(w, http.StatusOK, getProcInfo())
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 24 14:06:41 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. cmd/peer-rest-client.go

    	values.Set(peerRESTDepID, opts.depID)
    	v, err := getMetricsRPC.Call(ctx, client.gridConn(), grid.NewURLValuesWith(values))
    	return v.ValueOrZero(), err
    }
    
    // GetProcInfo - fetch MinIO process information for a remote node.
    func (client *peerRESTClient) GetProcInfo(ctx context.Context) (info madmin.ProcInfo, err error) {
    	resp, err := getProcInfoRPC.Call(ctx, client.gridConn(), grid.NewMSS())
    	return resp.ValueOrZero(), err
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. cmd/notification.go

    	}
    
    	for index, err := range g.Wait() {
    		if err != nil {
    			sys.addNodeErr(&reply[index], sys.peerClients[index], err)
    		}
    	}
    	return reply
    }
    
    // GetProcInfo - Process information
    func (sys *NotificationSys) GetProcInfo(ctx context.Context) []madmin.ProcInfo {
    	reply := make([]madmin.ProcInfo, len(sys.peerClients))
    
    	g := errgroup.WithNErrs(len(sys.peerClients))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 44.9K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    	}
    
    	getAndWriteProcInfo := func() {
    		if query.Get("sysprocess") == "true" {
    			localProcInfo := madmin.GetProcInfo(healthCtx, globalLocalNodeName)
    			anonymizeProcInfo(&localProcInfo)
    			healthInfo.Sys.ProcInfo = append(healthInfo.Sys.ProcInfo, localProcInfo)
    			peerProcInfos := globalNotificationSys.GetProcInfo(healthCtx)
    			for _, p := range peerProcInfos {
    				anonymizeProcInfo(&p)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 98K bytes
    - Viewed (0)
  5. cmd/peer-rest-server.go

    }
    
    // GetProcInfoHandler - returns this MinIO process information.
    func (s *peerRESTServer) GetProcInfoHandler(_ *grid.MSS) (*grid.JSON[madmin.ProcInfo], *grid.RemoteErr) {
    	info := madmin.GetProcInfo(context.Background(), globalLocalNodeName)
    	return madminProcInfo.NewJSONWith(&info), nil
    }
    
    // GetMemInfoHandler - returns memory information.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 52.1K bytes
    - Viewed (0)
Back to top