Practical Tips: Use LoadRunner to monitor Linux

Source: Internet
Author: User
Article Title: Practical Tips: Use LoadRunner to monitor Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

LoadRunner monitors the Linux installation, so share it out and forget it. You need to download three packages and google them online:

(1) rsh-0.17-14.i386.rpm

(2) rsh-server-0.17-14.i386.rpm

(3366rpc.rstatd-4.0.1.tar.gz

1. install two service packages: rsh and rsh-server.

A. Uninstall rsh

Rpm? Q rsh -- View version number

Rpm-e version -- Uninstall this version.

B. Installation

Rpm? Ivh rsh-0.17-14.i386.rpm rsh-server-0.17-14.i386.rpm

These two packages are shared under my directory.

2. Download and install rstatd

Gunzip rpc.rstatd-4.0.1.tar.gz

Tar? Cvf rpc.rstatd-4.0.1.tar.

. /Configure -- Configuration

Make -- compile

Make install -- install

Rpc. rstatd -- start the rstatd Process

3. Open/etc/xinetd. conf.

The content is:

# Simple configuration file for xinetd

#

# Some ults, and include/etc/xinetd. d/

Ults

{

Instances = 60

Log_type = SYSLOG authpriv

Log_on_success = HOST PID

Log_on_failure = HOST

Cps = 25 30

}

Includedir/etc/xinetd. d

4. Restart xinetd:

A: service xinetd reload

B:/sbin/service xinetd rstart

5. Modify the three conf files rlogin, rsh, and rexec under/etc/xinetd. d /.

Open these three files and change disable = yes to disable = no (disabled is used in the default {} to disable the service)

Or set # default: off To on and remove "#". This means that the above three services are started by default when xinetd is started!

6. Start rstatd: rpc. rstatd

7. Check whether rstatd is started:

Rpcinfo? P

If you can see:

100001 5 udp 618 rstatd

100001 3 udp 618 rstatd

100001 2 udp 618 rstatd

100001 1 udp 618 rstatd

It indicates that the rstatd service has been started. You can use LR for monitoring.

Related Article

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.