當前位置:
首頁 >
portmap 和 rpc程序
發布時間:2024/5/24
40
生活家
生活随笔
收集整理的這篇文章主要介紹了
portmap 和 rpc程序
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
Portmap 是為RPC 程序服務的。 每一個RPC server程序啟動的時候要向portmap程序注冊。這樣portmap程序就知道這些RPC server監聽在哪個端口。 而RPC client在發起連接向portmap發起查詢,知道了想要查詢的RPC server的監聽端口后再去連接server。這就是portmap的工作。 所以portmap要在RPC server啟動之前啟動。
Portmap從3,4版本開始叫做 rpcbind。 通過下面的命令可以看到portmap或者叫rpcbind中記錄的內容:
bash-2.03# rpcinfo -p
program vers proto port service
100000 4 tcp 111 rpcbind
100000 3 tcp 111 rpcbind
100000 2 tcp 111 rpcbind
100000 4 udp 111 rpcbind
100000 3 udp 111 rpcbind
100000 2 udp 111 rpcbind
100232 10 udp 32772 sadmind
100011 1 udp 32773 rquotad
100002 2 udp 32774 rusersd
100002 3 udp 32774 rusersd
100002 2 tcp 32772 rusersd
100002 3 tcp 32772 rusersd
100012 1 udp 32775 sprayd
100008 1 udp 32776 walld
100001 2 udp 32777 rstatd
100001 3 udp 32777 rstatd
100001 4 udp 32777 rstatd
100083 1 tcp 32773
100068 2 udp 32778
總結
以上是生活随笔為你收集整理的portmap 和 rpc程序的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: wuliao
- 下一篇: zabbix cpu监控介绍