How to monitor the resource status of Linux through LoadRunner

Source: Internet
Author: User
Tags hp ux resource

When we use LR for performance testing, we often have a need to monitor the OS's resource usage. For Windows system, this work is very convenient, directly in the LR Resource Monitoring window to add the need to be monitored by the machine name or IP, but for the Linux/unix system, it is slightly more complicated, I am here to briefly describe how to monitor the LR in the linux/ Resource Usage for UNIX systems:

Linux

For Linux systems, it is necessary to run RSTATD services to monitor the resource usage of Linux/unix systems via LR. If the OS does not have RSTATD installed (you can find out if there is a rpc.rstatd file in the system, if not, the system does not have RSTATD installed), you need to install it. RSTATD installation steps are as follows:

Obtain the RSTATD installation media (rstatd.tar.gz). RSTATD can be obtained from the Redhat installation CD or downloaded from the website (give a download address, SourceForge: HTTP://HEANET.DL.SOURCEFORGE.NET/SOURCEFORGE/RSTATD).

Copy the rstatd.tar.gz to the Linux system, unzip it, give the executable permission, enter the RPC.RSTATD directory, and execute the following command in turn:

#./configure

#make

#make Install

When you are finished, run the./rpc.rstatd command to start the service. At this point, you can monitor Linux resources in LR.

Unix

For UNIX systems, such as Solaris,aix or HP UX, the configuration process is simpler--remove the rstatd front annotation in the inetd.conf (/etc directory) file and start the RSTATD service.

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.