查看完整版本: rpc.statd 是什麼?如何關閉 rpc.statd 服務


Kelly 2012-5-16 12:53

rpc.statd 是什麼?如何關閉 rpc.statd 服務

<div>在系統下指令,如果看到有下面這一條内容...</div><br><div>#netstat -lp</div><div>[quote]</div><div>tcp &nbsp; &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;0 *:857 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; *:* &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LISTEN &nbsp; &nbsp; &nbsp;2795/rpc.statd</div><div>[/quote]</div><div><br></div><div>這說明是 rpc.statd 是正在運行的。</div><div><br></div><div>但又不知道這是做什麼的...可以這樣反查~~</div><div><br></div><div><span id="result_box" class="short_text" lang="zh-TW">另一個查看766是什麼命令執行的監聽端口的辦法</span></div><div><span class="short_text" lang="zh-TW"><br></span></div><div><span class="short_text" lang="zh-TW">#</span>lsof -i:857</div><div>[quote]</div><div><div>COMMAND &nbsp; &nbsp;PID USER &nbsp; FD &nbsp; TYPE DEVICE SIZE/OFF NODE NAME</div><div>rpc.statd 2795 root &nbsp; &nbsp;7u &nbsp;IPv4 &nbsp; 5435 &nbsp; &nbsp; &nbsp;0t0 &nbsp;TCP *:857 (LISTEN)</div></div><div>[/quote]</div><div><br></div><div><span id="result_box" class="short_text" lang="zh-TW">查看rpc.statd這個命令是那個安裝包的文檔</span></div><div><span class="short_text" lang="zh-TW">#</span>rpm -qf /sbin/rpc.statd</div><div>[quote]</div><div>nfs-utils-1.0.9-50.el5</div><div>[/quote]</div><div><br></div><div><span id="result_box" class="short_text" lang="zh-TW">查看nfs開頭有那些東東</span></div><div><span class="short_text" lang="zh-TW">#</span>ls /etc/init.d/nfs*</div><div>/etc/init.d/nfs &nbsp;/etc/init.d/nfslock</div><div><br></div><div><span id="result_box" class="short_text" lang="zh-TW">查看nfslock狀態</span></div><div><span class="short_text" lang="zh-TW">#</span>/etc/init.d/nfslock status</div><div>rpc.statd (pid &nbsp;2795) is running...</div><div><br></div><div><span class="short_text" lang="zh-TW">關閉服務:</span></div><div><span id="result_box" class="short_text" lang="zh-TW"><span title="vi /etc/services">#chkconfig nfslock off</span></span></div><div><span class="short_text" lang="zh-TW"><span title="vi /etc/services">#service nfslock stop</span></span></div><div><span class="short_text" lang="zh-TW"><span title="vi /etc/services"><br></span><span title="找到里面的nfs ,在前面加# 注释掉,重启,">這樣就可以關閉囉~~</span></span></div>
頁: [1]
查看完整版本: rpc.statd 是什麼?如何關閉 rpc.statd 服務