LoadRunner How to monitor Linux system resources

Source: Internet
Author: User

A brief description: LoadRunner monitor Linux resources when the following error pops up:

Monitor Name:unix Resources. Cannot initialize the monitoring on 192.168.52.189. Error while creating the RPC client. Ensure that the machine can is connected and that it runs the Rstat daemon (use Rpcinfo utility for this verification). Detailed error:RPC:Failed to create RPC client.

Rpc-tcp:failed to establish RPC server address.

The essence of the above problem is that the Linux system is not installed RPC.RSTATD, the service is not open cause.

And then we're going to test our speculation:

First see if RPC.RSTATD is installed

Here is the code snippet:

[Email protected] bin]# Whereis rpc.rstatd


If there is no rpc.rstatd in the list


Discovery System not installed RPC.RSTATD


Note: The RSTATD rstat protocol allows users on the network to obtain performance parameters for each machine on the same network.

Two ready to download package: Download RPC.RSTATD-4.0.1.TAR.GZ installation package

: HTTP://SOURCEFORGE.NET/PROJECTS/RSTATD

Upload rpc.rstatd-4.0.1.tar.gz package to Linux under/home/michael/tool/directory using SSH client

Three-Step installation package:

Here is the code snippet:

TAR-XZVF rpc.rstatd-4.0.1.tar.gz//Decompression RCP.RSTATD

CD rpc.rstatd-4.0.1//Enter into the RPC.RSTATD directory

./configure//Configuration RC.RSTATD installation, the following my is the default way

make//Compile RC.RSTATD

Make Install//install

Quad Restart XINETD

Here is the code snippet:

/etc/init.d/xinetd restart

Five modify the Disable settings in the ETC/XINETD.D directory under 3 conf (Rlogin, RSH, rexec) to No

Here is the code snippet:

CD/ETC/XINETD.D//Enter into the etc/xinetd.conf directory

Vi rlogin//Edit Disable=no, save

Vi rsh//Edit Disable=no, save

Vi rexec//Edit Disable=no, save

Six-start rpc.rstatd and detection

Here is the code snippet:

RPC.RSTATD//Start RPC.RSTATD process

Rpcinfo–p//execute this command to check the status of the RPC service

[Email protected] xinetd.d]# rpcinfo-p

Program Version Protocol port

Program vers Proto Port service

100000 4 TCP 111 Portmapper

100000 3 TCP 111 Portmapper

100000 2 TCP 111 Portmapper

100000 4 UDP 111 Portmapper

100000 3 UDP 111 Portmapper

100000 2 UDP 111 Portmapper

100024 1 UDP 40879 status

100024 1 TCP 53726 Status

100001 5 UDP 899 RSTATD

100001 3 UDP 899 RSTATD

100001 2 UDP 899 RSTATD

100001 1 UDP 899 RSTATD

See RSTATD, the RSTATD service has been started. You can use LR to monitor it.

Seven use the controller in Loadunner to monitor Linux resources

1 in the controller, drag the UNIX resources in the Systeme resourece graphs to the right-click Resource Monitoring Area

2 right mouse button Select Add measurements, add the IP address of the monitored Linux 192.168.52.189, select the performance metrics to monitor, confirm, as shown in the success ^_^

There may be prompts on the computer to access the measurement CPU utilization data, this is because you do not have this resource measurement, you add the computer at the time to add the resources to measure the CPU and the relevant information you need to be OK


This article from the "32 Krypton" blog, reproduced please contact the author!

LoadRunner How to monitor Linux system resources

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.