Monitor Linux Resource status through LoadRunner

Source: Internet
Author: User

When we use LR for performance testing, we often need to monitor the resource usage of the OS. For Windows systems, this work is very convenient. You can directly add the name or IP address of the machine to be monitored in the LR Resource Monitoring window, but for Linux/Unix systems, this is a little more complex. Here I will briefly introduce how to monitor the resource usage of Linux/Unix systems in LR:
Linux
For Linux systems, to monitor resource usage of Linux/Unix systems through LR, you need to run the rstatd service. If rstatd is not installed on the OS (you can check whether the file rpc. rstatd exists in the system. If no file exists, it indicates that rstatd is not installed on the system), you need to install it.
The steps for installing rstatd are as follows:
Rstatdinstaller (rstatd.tar.gz ). Rstatd can be obtained from the redhat installation CD or downloaded from the website (A sourceforge: // heanet.dl.sourceforge.net/sourceforge/rstatd ).
Copy rstatd.tar.gz to the Linux system, decompress it, grant the executable permission, go to the rpc. rstatd directory, and execute the following commands in sequence:

#./configure#make#make install

Run the./rpc. rstatd command to start the service. At this time, you can monitor Linux resources in LR.
Unix
For Unix systems, such as Solaris, AIX, or hp ux, their configuration process is relatively simple-in inetd. remove the comment before rstatd In the conf (in the/etc directory) file, and then start the rstatd service.

Related Articles]

  • System security policies for preventing buffer overflow attacks in Linux
  • Linux Security Settings Manual

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.