{"id":5057,"date":"2019-09-27T19:13:43","date_gmt":"2019-09-27T11:13:43","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=5057"},"modified":"2019-09-27T19:13:48","modified_gmt":"2019-09-27T11:13:48","slug":"rpcinfo","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/rpcinfo","title":{"rendered":"rpcinfo\u547d\u4ee4 – \u67e5\u8be2RPC\u4fe1\u606f"},"content":{"rendered":"\n

rpcinfo\u547d\u4ee4\u7684\u4e3b\u8981\u7528\u9014\u662f\u5229\u7528RPC\u8c03\u7528\uff0c\u8bbf\u95eeRPC\u670d\u52a1\u5668\uff0c\u663e\u793a\u5176\u54cd\u5e94\u4fe1\u606f\uff0c\u4ece\u800c\u67e5\u8be2\u5df2\u6ce8\u518c\u7684RPC\u670d\u52a1\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>rpcinfo [\u53c2\u6570] [\u4e3b\u673a]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n
-a<\/td>\u4f7f\u7528\u6307\u5b9a\u7684\u4f20\u8f93\u5c42\u901a\u7528\u5730\u5740servaddr\u4f5c\u4e3a\u670d\u52a1\u5730\u5740\uff0c\u63a2\u6d4b\u6307\u5b9a\u7a0b\u5e8f\u53f7prognum\u7684\u8fc7\u7a0b0\uff0c\u62a5\u544a\u662f\u5426\u6536\u5230\u54cd\u5e94\u4fe1\u606f<\/td><\/tr>
-b<\/td>\u5217\u51fa\u6536\u5230\u54cd\u5e94\u4fe1\u606f\u7684\u6240\u6709\u4e3b\u673a<\/td><\/tr>
-d<\/td>\u4ece\u5df2\u6ce8\u518c\u7684RPC\u670d\u52a1\u4e2d\u5220\u9664\u5339\u914d\u6307\u5b9a\u7a0b\u5e8f\u53f7prognum\u4e0e\u7248\u672c\u53f7versnum\u7684\u670d\u52a1<\/td><\/tr>
-I<\/td>\u663e\u793a\u6307\u5b9a\u4e3b\u673a\u4e2d\u4e0e\u6307\u5b9a\u7a0b\u5e8f\u53f7prognum\u548c\u7248\u672c\u53f7versnum\u5339\u914d\u7684\u57fa\u4e8e\u6240\u6709\u4f20\u8f93\u5c42\u534f\u8bae\u7684RPC\u670d\u52a1\u5217\u8868<\/td><\/tr>
-m<\/td>\u4ee5\u8868\u683c\u5f62\u5f0f\u6307\u5b9a\u4e3b\u673a\u4e0arpcbind\u64cd\u4f5c\u7684\u7edf\u8ba1\u6570\u636e<\/td><\/tr>
-s<\/td>\u663e\u793a\u6ce8\u518c\u5230\u6307\u5b9a\u4e3b\u673a\u7684\u6240\u6709RPC\u7a0b\u5e8f\u7684\u7b80\u660e\u5217\u8868<\/td><\/tr><\/tbody><\/table>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u663e\u793a\u5df2\u6ce8\u518c\u5230\u672c\u5730\u7cfb\u7edf\u7684\u6240\u6709RPC\u670d\u52a1\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# rpcinfo<\/pre>\n\n\n\n

\u663e\u793a\u672c\u5730\u7cfb\u7edf\u4e2d\u6ce8\u518c\u5230rpcbind\u534f\u8bae\u7248\u672c2\u7684\u6240\u6709RPC\u670d\u52a1\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# rpcinfo -p<\/pre>\n","protected":false},"excerpt":{"rendered":"

rpcinfo\u547d\u4ee4\u7684\u4e3b\u8981\u7528\u9014\u662f\u5229\u7528RPC\u8c03\u7528\uff0c\u8bbf\u95eeRPC\u670d\u52a1\u5668\uff0c\u663e\u793a\u5176\u54cd\u5e94\u4fe1\u606f\uff0c\u4ece\u800c\u67e5\u8be2\u5df2\u6ce8\u518c\u7684RPC\u670d\u52a1\u3002 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5057"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=5057"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5057\/revisions"}],"predecessor-version":[{"id":5089,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/5057\/revisions\/5089"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=5057"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=5057"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=5057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}