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 ...
随机推荐
- Windowserver2012服务器激活方法(亲测可用)---转载
Windowserver2012服务器激活方法(亲测可用)原创꧁刘向洋꧂ 最后发布于2019-03-12 14:46:45 阅读数 5124 收藏展开激活方式 slmgr /ipk D2N9P-3P ...
- js 匀速运动到100和到300
<!doctype html> <html> <head> <meta charset="utf-8"> <title> ...
- iOS 开发之 RunLoop 详解
1)什么是 Runloop ? 1.字面上是运行循环,内部就是 do-while 循环,在这个循环内不断地处理各种任务. 2.一个线程对应一个 Runloop ,主线程的 RunLoop 默认是开启的 ...
- connection String加密
aspnet_regiis -pe "connectionStrings" -app "/HG" -prov "ChrisProvider" ...
- 「JSOI2010」找零钱的洁癖
「JSOI2010」找零钱的洁癖 传送门 个人感觉很鬼的一道题... 首先我们观察到不同的数最多 \(50\) 个,于是考虑爆搜. 但是这样显然不太对啊,状态数太多了. 然后便出现了玄学操作: \(\ ...
- 5种JVM调优配置方法概览
1 堆设置 -Xms:初始堆大小 -Xmx:最大堆大小 -XX:NewSize=n:设置年轻代大小 -XX:NewRatio=n:设置年轻代和年老代的比值.如:为3,表示年轻代与年老代比值为1:3,年 ...
- Python - 编程技巧,语法糖,黑魔法,pythonic
参考,搬运 http://python-web-guide.readthedocs.io/zh/latest/idiom/idiom.html 待定 1. Python支持链式比较 # bad a = ...
- python中的异常处理:厌而不舍
什么是异常? ------异常:不正常的情况 异常即是一个事件,该事件会在程序执行过程中发生,影响了程序的正常执行.一般情况下,在Python无法正常处理程序时就会发生一个异常. 异常是Pytho ...
- ios中时间倒计时
博客地址 https://github.com/sundayios/SQCountTimeDown.git
- 基于 Chrome 浏览器的扩展插件来进行的安装Postman
我会给你一个安装包,见附件.你应该下载下来,解压缩到你喜欢的位置. 打开 Chrome 浏览器的「扩展程序」 点击「加载已解压的扩展程序...」按钮,找到你刚刚下载的安装包的位置,点击确定. 你去看看 ...