LoadRunner Monitoring Linux

Source: Internet
Author: User

The LoadRunner monitoring Linux Rstat protocol allows users on the network to obtain performance parameters for each machine on the same network. you need to download 3 packages:(1) rsh-0.17-14.i386.rpm (2) rsh-server-0.17-14.i386.rpm (3) rpc.rstatd-4.0.1.tar.gz First, install RshSee if RSH is installed and uninstalled [[email protected]/]# RPM–QA |grep rsh--see if RSH is installed [[email protected]/]# Rpm–e + version number --Uninstall the version install Rsh,rsh-server [[email protected]/]# RPM–IVH rsh-0.17-14.i386.rpm [[email protected]/]# RPM–IVH R sh-server-0.17-14.i386.rpm Second, installation rstatdDownload and install RSTATD,:HTTP://SOURCEFORGE.NET/PROJECTS/RSTATD, upload to/usr/local to see if it is installed, generally Linuxnone installed [[email protected]/]# Find/-name rpc.rstatd install rstatd [[email protected]/]# TAR-XZVF Rpc.rstatd-4.0.1.tar.  GZ [[Email protected]/]# CD rpc.rstatd-4.0.1 [[email protected]/]#./configure [[email protected]/]# make [[email protected]/]# make install third, after the installation completes the configuration rstatd the target daemon xinetd, the configuration file in the/ETC/XINET.D directoryModify the Disable in the 3 conf (rogin,rsh,rexec) below the/ETC/XINETD.D directory to no [email protected]/]# CD/ETC/XINETD.D --Enter into the/etc/xinetd.conf directory [[email protected]/]# VI rlogin--Edit disable=no, save [email PR                                  Otected]/]# VI rsh--Edit Disable=no, save [[email protected]/]# VI rexec --Edit Disable=no, save iv. start rpc.rstatd[[email protected]/]# rpc.rstatd--Start rpc.rstatd process [[email protected]/]# rpcinfo-p  --Perform this command to check the status of the RPC service if the RSTATD description does not appear successfully, you need to repeat the above steps. Up to this point, the LR monitoring Linux necessary services have been installed LoadRunner stress test when Monitoring Server Linux resource situation

In the Load Test(Load Test) is to monitor the server's CPU, memory, disk, and network conditions.  How to monitor the Ubuntu situation.  1, installation Rstatd,sudo apt-get install RSTATD, if not apt installation, you can download the installation. 2, start rpc.rstatd Check whether the normal start, with the following command
Rpcinfo-p[[email protected] ~]# rpcinfo-pprogram vers proto port100000 2 TCP 111 portmapper100000 2 UDP    111 portmapper100024 1 UDP 676 status100024 1 TCP 679 status100001 3 UDP 691 rstatd100001 2 UDP 691 rstatd100001 1 UDP 691 RSTATD
3, in LoadRunnerIn the controller's run interface, add the UNIX Resource under System Resource graphs, right-click Add measurements on the UNIX Resource graph,  Fill in the IP such as 192.168.1.99, the default is only three indicators, in the following add can be added additional indicators. 4, the following is the situation of various indicators CPU indicator Average load average number of processes in the "Ready" state at the same time,< CPU number * Core number * 0.7 CPU utilization CPU usage time percentage, if above 75%, then You can consider swapping the CPU. Swap-in rate the number of processes being swapped swap-out rate the number of processes that are being swapped for the process switches rate per second between processes or threads System mode CPU Utili  zation percentage of time that the CPU is used in System mode user mode CPU utilization The percentage of time that the CPU is used in user modes Interrupt rate number of device interrupts per second memory page-in rate Number of pages read into physical memory per second Page-out rate the number of pages per second that are written to the paging file and removed from physical memory Paging rate reads into physical memory or pages written to the paging file per second, and if it persists at hundreds of, it is possible to increase the memory LoadRunner the collected data, Memory usage is not, can be installed SAR, and then observed with SAR: You can use the command sar-n dev-u-R 3 > Perform.log this command 3 seconds to sample, a total sampling 120 times theseconds = 6 minutes, you can adjust the two values of 3 and 120 according to your needs. Perform.log is the saved file name

LoadRunner Monitoring 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.