LoadRunner监控Linux系统
需要下载3个包:  地址链接:链接:https://pan.baidu.com/s/1lltAa6JnjJ7Mr88duixUSQ 密码:5yiw
(1)rsh-0.17-14.i386.rpm 
(2)rsh-server-0.17-14.i386.rpm 
(3)rpc.rstatd-4.0.1.tar.gz
一、安装rsh
查看是否安装并卸载rsh
[root@localhost /]# rpm -qa |grep rsh --查看是否安装rsh
[root@localhost /]# rpm -e + 版本号 --卸载该版本
安装rsh,rsh-server
[root@localhost /]# rpm -ivh rsh-0.17-14.i386.rpm
[root@localhost /]# rpm -ivh rsh-server-0.17-14.i386.rpm
或[root@localhost /]#yum -y install rsh*
二、安装rstatd 网盘链接:链接:https://pan.baidu.com/s/1lU0_3NWA0kVuXCJSFKFSuA 密码:i4so
下载并安装rstatd,下载地址:http://sourceforge.net/projects/rstatd,上传至/usr/local
查看是否安装,一般来说Linux都没有安装
[root@localhost /]# find / -name rpc.rstatd
安装rstatd
[root@localhost /]# tar -xzvf rpc.rstatd-4.0.1.tar.gz
[root@localhost /]# centos7是 yum install rusers-server
为了解决如下问题:是centos7
Monitor name :UNIX Resources. Internal rpc error (error code:2). Machine: 192.168.1.34. Hint: Check that RPC on this machine is up and running. Check that rstat daemon on this machine is up and running (use rpcinfo utility for this verification). Details: RPC: RPC call failed.
RPC-TCP: recv()/recvfrom() failed.
RPC-TCP: Timeout reached. (entry point: Factory::CollectData). [MsgId: MMSG-47197]
步骤如下:
- 安装rpc服务 yum install rusers-server
- 启动服务 /etc/init.d/rstatd start
- rpcinfo -p 查看是否有几个rstatd服务已经启动
- /etc/init.d/iptables stop 关闭防火墙(重要)
- 回到controller中,将system resource graphs中的Unix Resources拖到右侧监控区域。
- 右键,Add Measurements。
- 添加被监控的Linux IP地址后,再选监控指标即可。

[root@localhost /]# cd rpc.rstatd-4.0.1
[root@localhost /]# ./configure

报错了,解决方法如下
[root@localhost /]# yum install gcc*

[root@localhost /]# make
有报错了,提示我们没有make命令包

解决如下
[root@localhost /]# yum install make

[root@localhost /]# make install
三、安装完成后配置rstatd目标守护进程xinetd,配置文件于/etc/xinet.d目录下
修改/etc/xinetd.d目录下面的3个conf(rogin,rsh,rexec)中的disable均设置为no
[root@localhost /]# cd /etc/xinetd.d --进入到/etc/xinetd.conf目录中
[root@localhost /]# vi rlogin --编辑disable=no,保存
[root@localhost /]# vi rsh --编辑disable=no,保存
[root@localhost /]# vi rexec --编辑disable=no,保存
四、启动rpc.rstatd
[root@localhost /]# rpc.rstatd --启动rpc.rstatd进程
报错了

解决方法如下
链接:https://pan.baidu.com/s/1lU0_3NWA0kVuXCJSFKFSuA 密码:i4so 有portmap文件,仔细找找
rpm -ivh portmap-4.0-65.2.2.1.x86_64.rpm或者yum install h portmap



[root@localhost /]# rpcinfo -p --执行此命令检查rpc服务的状态

五、关闭防火墙
[root@localhost /]# service iptables stop centos7关防火墙命令:service firewalld stop
LoadRunner监控Linux系统的更多相关文章
- LoadRunner监控Linux
		rstat协议允许网络上的用户获得同一网络上各机器的性能参数. 需要下载3个包: (1)rsh-0.17-14.i386.rpm (2)rsh-server-0.17-14.i386.r ... 
- LoadRunner监控Linux资源
		一.LoadRunner监控Linux资源 (一).准备工作 首先,监视Linux一定要有rstatd这个守护进程,有的Linux版本里也有可能是rpc.rstatd这里只是名字不同而已,功能是一样的 ... 
- LoadRunner监控Linux条件和解决方法
		注:内容来自网络 需要下载3个包: (1)rsh-0.17-14.i386.rpm (2)rsh-server-0.17-14.i386.rpm (3)rpc.rstatd-4.0.1.tar.gz ... 
- LoadRunner监控Linux配置教程
		LoadRunner监控Linux资源时弹出如下错误: Monitor name :UNIX Resources. Cannot initialize the monitoring on 192.16 ... 
- 监控 Linux 系统的 7 个命令行工具
		监控 Linux 系统的 7 个命令行工具: " 深入 关于Linux最棒的一件事之一是你能深入操作系统,来探索它是如何工作的,并寻找机会来微调性能或诊断问题.这里有一些基本的命令行工具,让 ... 
- Loadrunner 监控 Linux (centos6.5)服务器系统资源
		Loadrunner 监控 Linux 服务器系统资源,需要在被监控的服务器上启用 rstatd 进程但尝试启动时,爆炸了: [root@test1 rpc.rstatd-4.0.1]# rpc.rs ... 
- LoadRunner监控Linux与Windows方法
		1.首先保证被监视的windows系统开启以下二个服务Remote Procedure Call(RPC) 和Remote Registry Service: 2.被监视的WINDOWS机器:右击我的 ... 
- Loadrunner监控Linux系统资源
		一.安装rsh和rpcbind 1.查看是否安装:rpm -qa |grep rsh 2.安装rsh:yum -y install rsh* 3.yum -y install nfs-utils r ... 
- loadrunner监控linux服务器
		参考http://www.cnblogs.com/yangxia-test/archive/2012/11/27/2790771.html http://www.cnblogs.com/candle8 ... 
随机推荐
- IDEA 查看字节码
			参考:https://www.jianshu.com/p/18953ec8c0b7 打开工具栏 输入参数: 参数: $JDKPath$\bin\javap.exe -c $FileClass$ $Ou ... 
- 【原】Mysql最大连接数
			MySQL最大连接数的默认值是100, 这个数值对于并发连接很多的数据库的应用是远不够用的,当连接请求大于默认连接数后,就会出现无法连接数据库的错误,因此我们需要把它适当调大一些. 在使用MySQL数 ... 
- 3_08_MSSQL课程_Ado.Net_子查询
			子查询 1.把一个查询结果作为一个表来使用,就是子查询. 2.把一个查询结果作为一个 表达式进行使用就是子查询. (分页Sql) 
- 【SSM  sql.xml】日志查询mapper.xml
			LogInfoMapper.xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapp ... 
- 【PAT甲级】1047 Student List for Course (25 分)
			题意: 输入两个正整数N和K(N<=40000,K<=2500),接下来输入N行,每行包括一个学生的名字和所选课程的门数,接着输入每门所选课程的序号.输出每门课程有多少学生选择并按字典序输 ... 
- stm32CubeMx lwip + freeRTOS
			MCU: STM32F429IGT6 工具:STM32CubeMx 版本号 5.0.0 Keil uVersion5 目的:使用LWIP 实现简单的网络连通 一 简介 LWIP(Light Wei ... 
- 15、python面对对象之类和对象
			前言:本文主要介绍python面对对象中的类和对象,包括类和对象的概念.类的定义.类属性.实例属性及实例方法等. 一.类和对象的概念 问题:什么是类?什么是实例对象? 类:是一类事物的抽象概念,不是真 ... 
- Keras下载的数据集以及预训练模型保存在哪里
			Keras下载的数据集在以下目录中: root\\.keras\datasets Keras下载的预训练模型在以下目录中: root\\.keras\models 在win10系统来说,用户主目录是: ... 
- robot framework 接口post请求需要加headers
			说明:当你用RF进行post接口测试时候,那么需要加个headers=Content-Type=application/x-www-form-urlencoded,要不然会请求不成功的. 
- gitlab的搭建与使用(一)
			yum install curl policycoreutils openssh-server openssh-clients postfix -y systemctl enable sshd sys ... 
