rstatd守護程式
rstatd守護程式是用來返回從核心獲取的效能統計資訊 的程式。
預設是不啟動的。以前遇到過使用loadrunner測試應用效能的時候,需要啟動這個守護程式。
下面是英文的解釋:
Rstatd is a server process which produces system performance statistics obtained from the kernel.The statistics can be graphically displayed by the perfmeter program.Rstatd's results can also be used by the rup command,which allows other machines on your local network to get information (like uptime) about your computer.
在UNIX伺服器上,rstatd程式一般是配置在inetd.conf檔案中,如果需要啟動,則把inetd.conf檔案中的下面一行取消註釋,然後重啟in
etd即可。
#rpc dgram udp wait root /usr/lib/netsvc/rstat/rpc.rstatd 100001 2-4 rpc.rstatd
在HP-UX上重啟inetd的方法為
執行inetd stop
inetd start
停止啟動。
在HP-UX上使用rpcinfo命令檢查rstatd程式是否啟動,如下:
program version netid address service owner
......
100001 2 udp 0.0.0.0.219.203 rstatd superuser
100001 3 udp 0.0.0.0.219.203 rstatd superuser
100001 4 udp 0.0.0.0.219.203 rstatd superuser
對於inetd.conf中rstatd配置中的每個欄位的含義,可以參考inetd.conf中的說明
#rpc dgram udp wait root /usr/lib/netsvc/rstat/rpc.rstatd 100001 2-4 rpc.rstatd
# service name as in /etc/services
# socket type either "stream" or "dgram"
# protocol as in /etc/protocols
# wait/nowait only applies to datagram sockets, stream
# sockets should specify nowait
# user name of user as whom the server should run
# server program absolute pathname for the server inetd will
# execute
# server program args. arguments server program uses as they normally
# are starting with argv[0] which is the name of
# the server.
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23850820/viewspace-1055959/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 守護程式
- Node 程式守護
- gated 守護程式
- Linux 守護程式和超級守護程式(xinetd)Linux
- 程式守護 supervisor
- 守護程式那些事
- Linux 守護程式Linux
- PHP 實現守護程式PHP
- Golang 程式守護 SupervisorGolang
- PHP 編寫守護程式PHP
- Python編寫守護程式程式Python
- Linux守護程式及SystemdLinux
- Windows守護程式簡單示例Windows
- 守護程序
- rsync 守護程式及實時同步
- rsync 守護程式備份報錯
- opentracker改造為daemon守護程式
- Linux下的守護程式分析Linux
- 程式守護系統,你懂嗎?
- 用Python實現守護程式Python
- 深入理解Linux守護程式Linux
- 一個簡單的守護程式
- 使用 swoole 實現程式的守護(三)
- 使用 SWOOLE 實現程式的守護(一)
- 使用 SWOOLE 實現程式的守護(二)
- Linux基礎命令---httpd守護程式Linuxhttpd
- Linux守護程式的啟動方法Linux
- .Net Core 程式守護之Supervisor使用
- laravel佇列之Supervisor守護程式Laravel佇列
- Linux下開發-守護程式(daemon)Linux
- shell 指令碼實現的守護程式指令碼
- 守護程式的概念和建立實驗
- Linux 守護程式的啟動方法Linux
- 運維守護神——數十萬線上機器的守護【門神】運維
- 使用 PHP 自建穩定可靠的守護程式PHP
- PHP實現master-worker守護多程式PHPAST
- Unix/Linux守護程式伺服器示例Linux伺服器
- Android 通過JNI實現守護程式Android