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/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/23850820/viewspace-1055959/
494

被折叠的 条评论
为什么被折叠?



