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.