LoadRunner How to monitor system resources under Linux

Source: Internet
Author: User

1. Install Rsh,rsh-server[[email protected]/]# yum install rsh[[email protected]/]# yum install rsh-server or [[email protected] /] #yum-y install rsh*

2. Install rstatd download and install rstatd,:http://sourceforge.net/projects/rstatd (download rpc.rstatd-4.0.1.tar.gz), upload to/usr/local to see if it is installed, Linux is not generally installed [[email protected]/]# Find/-name rpc.rstatd install Rstatd[[email protected]/]# TAR-XZVF rpc.rstatd-4.0.1.t Ar.gz

[Email protected]/]# CD rpc.rstatd-4.0.1

[[email protected]/]#./configure Here you will be prompted to fail the permission; After installing GCC,/configure still fails.
Continue installing yum-y install GCC gcc-c++

or fail; Continue yum-y install gcc automake autoconf libtool make

Again,/configure, look, show success.

[[email protected]/]# make

[[email protected]/]# make install

3. After the installation is complete, configure the rstatd target daemon xinetd, the configuration file in the/ETC/XINET.D directory to modify the/ETC/XINETD.D directory under the 3 conf (rogin,rsh,rexec) is set to No [[ Email protected]/]# CD/ETC/XINETD.D--Enter the/etc/xinetd.conf directory [[email protected]/]# VI rlogin--Edit Disable=no, save [[Emai] L protected]/]# VI rsh--Edit Disable=no, save [[email protected]/]# VI rexec--edit Disable=no, save 4. Start Rpc.rstatd[[email protected]/]# rpc.rstatd-Start the RPC.RSTATD processNote:

Portmap renamed to Rpcbind in CENTOS6

Yum install Rpcbind (CENTOS6)

Yum install Portmap (CENTOS5)

Mine is CENTOS6, so install yum installed Rpcbind (the general system itself is Rpcbind)

Check it out.

[[email protected]/]# rpcinfo-p--Perform this command to check the status of the RPC service so far, the necessary services for LR monitoring Linux have been installed.

As you can see, if four rstatd services are turned on, the RPC Daemon service startup is successful (service installation and startup are successful)

5. Turn off the firewall [[email protected]/]# iptables-l View firewall status [[email protected]/]# service iptables stop

Chkconfig iptables on//Permanent boot firewall

Chkconfig iptables off//permanently shut down the firewall

6. Controller in LR monitors Linux resources in the controller, drag the UNIX resource in System Resource graphs to the right ResourcesMonitoring area. 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.

Reference:

Http://www.51testing.com/html/29/279629-3693914.html

51498530

LoadRunner How to monitor system resources under Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.