By default, loadrunner can't monit unix-like system resource only if your system had installed rstatd server. And this document will tell you how to configure rstatd server in linux.
step1 Download rstatd-4.0.1.tar.gz form
step2 Install rstatd
#tar -zxvf rpc.rstatd-4.0.1.tar.gz
#./configure
#make
#make install
#rpc.rstatd (for starting the server)
step3 restart exietd server
#cd /etc/init.d
#service exietd restart
step4 Modify three related configure files(rlogin, rsh, rexec) located /etc/xinetd.d, in the three file, modify disable = yes as disable = no(another way is modify #default:off as default:on, and uncomment it)
step5 start rstatd with command:rpc.rstatd, and if you get error like somewhat like this"Cannot register service:RPC:Unable to receive; error = Ction refused", then use the following way to fix it:
#/etc/init.d/portmap start
#/etc/init.d/nfs start
then restart rpc.rstatd server.
step6 Check whether rstatd has started normally, use the following command:
#rpcinfo -p
if you can see some infomation like: 100001 5 udp 892 rstard, then it means you got it.
阅读(1403) | 评论(0) | 转发(0) |