Reference http://www.cnblogs.com/yangxia-test/archive/2012/11/27/2790771.html
Http://www.cnblogs.com/candle806/archive/2011/01/18/1938286.html
In general, Linux installs the RSTATD service, allowing LoadRunner to access the real-time data of its machines.
Steps
0. See if you have installed
By command rpcinfo-p, you can see that if you turn on the four RSTATD service, the RPC Daemon service startup is successful. If this service is not available, you will need to manually install the
1. Install rsh, Rsh-server
Yum-y install rsh rsh-server2. Installing rstatd:http://heanet.dl.sourceforge.net/sourceforge/rstatd/Installation: one execution--TAR-XZVF RPC.RSTATD-4.0.1.TAR.GZ//Unzip the installation package CD rpc.rstatd-4.0.1//Enter into the RPC.RSTATD directory./configure//Configure RC.RSTATD Install make//edit Rc.rsta Tdmake Install//installation 3. Change Configuration
Modify the Disable in the 3 conf (rogin,rsh,rexec) below the/ETC/XINETD.D directory to set to No
[[email protected]/]# CD/ETC/XINETD.D--Go to the/etc/xinetd.conf directory
[[Email protected]/]# VI rlogin--edit Disable=no, save
[Email protected]/]# VI rsh--edit Disable=no, save
[[Email protected]/]# VI rexec--edit Disable=no, save
4. Start
Rpc.rstatd
5. See if the success
Rpcinfo-p--Execute this command to check the status of the RPC service
6. Turn off the Linux firewall
Service Iptables Stop
7.loadrunner add
- In the controller, drag the UNIX resources in System Resource graphs to the resource monitoring area on the right.
- right mouse button Select Add measurements, add the IP address of the monitored Linux x.x.x.x, select the performance indicators to be monitored, confirm.
Tested successfully.
LoadRunner Monitoring Linux Servers