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.

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/23850820/viewspace-1055959/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/23850820/viewspace-1055959/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值