How to Use LoadRunner to monitor Linux systems

Source: Internet
Author: User
Article Title: How to Use LoadRunner to monitor Linux systems. 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.

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

2. Download and install rstatd

# Tar? Xzvf rpc.rstatd-4.0.1.tar.gz

#./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 under/etc/xinetd. d /.

Rlogin, rsh, and rexec configuration files,

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

When rpc. rstatd is started, the error "Cannot register service: RPC: Unable to receive; errno = Ction refused" is returned ".

The solution is as follows:

#/Etc/init. d./portmap start

#/Etc/init. d./nfs start

Then start rpc. rstatd again.

7. Check whether rstatd is started:

# Rpcinfo-p

If you can see:

100001 5 udp 892 rstatd

100001 3 udp 892 rstatd

100001 2 udp 892 rstatd

100001 1 udp 892 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.