姚博文 loadrunner linux rstatd 性能监控
2014-05-16 15:20
253 查看
1。
whereis rpc.rstatd
wget http://heanet.dl.sourceforge.net/sourceforge/rstatd/rstatd.tar.gz
2。tar -zxvf rstatd.tar.gz
3。cd rpc.rstatd Remote Procedure Call(RPC)
4。#./configure
#make
#make install
5。.[root@BJ18 rpc.rstatd]# ./rpc.rstatd &
[1] 16979
[root@BJL18 rpc.rstatd]# ./rpc.rstatd &
[1] 16999
[root@BJL18 rpc.rstatd]# Cannot register service: RPC: Unable to receive; errno = Connection refused
6。如果第5步错误安装portmap(linux6以前为portmap服务,6以后为rpcbind)
[root@BJL18 rpc.rstatd]# yum install portmap
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
centos-base | 3.7 kB 00:00
centos-extras | 3.4 kB 00:00
centos-updates | 2.9 kB 00:00
centos-updates/primary_db | 4.5 MB 00:00
epel | 4.2 kB 00:00
puppet-dependencies | 1.9 kB 00:00
puppet-devel | 1.9 kB 00:00
puppet-product | 1.9 kB 00:00
Setting up Install Process
Package rpcbind-0.2.0-11.el6.x86_64 already installed and latest version
[root@BJL18 rpc.rstatd]# service rpcbind start
Starting rpcbind: [ OK ]
[root@BJL18 rpc.rstatd]# ./rpc.rstatd &
[1] 17025
7。Monitor name :UNIX Resources. Cannot initialize the monitoring on localhost. Error while creating the RPC client. Ensure that the machine can be connected and that it runs the rstat daemon (use rpcinfo utility for this verification).
Detailed error: RPC: Failed to create RPC client.RPC-TCP: Failed to establish RPC server address
[root@BJL18 rpc.rstatd]#/etc/init.d/iptables stop
8。[root@BJL18 rpc.rstatd]# rpcinfo -p
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100001 5 udp 979 rstatd
100001 3 udp 979 rstatd
100001 2 udp 979 rstatd
100001 1 udp 979 rstatd
9。利用Loadunner中的Controller监控
在controller中,将Systeme Resourece Graphs中的UNIX resources拖到右键的资源监控区域
鼠标右键选择Add Measurements,添加被监控linux的IP地址localhost
whereis rpc.rstatd
wget http://heanet.dl.sourceforge.net/sourceforge/rstatd/rstatd.tar.gz
2。tar -zxvf rstatd.tar.gz
3。cd rpc.rstatd Remote Procedure Call(RPC)
4。#./configure
#make
#make install
5。.[root@BJ18 rpc.rstatd]# ./rpc.rstatd &
[1] 16979
[root@BJL18 rpc.rstatd]# ./rpc.rstatd &
[1] 16999
[root@BJL18 rpc.rstatd]# Cannot register service: RPC: Unable to receive; errno = Connection refused
6。如果第5步错误安装portmap(linux6以前为portmap服务,6以后为rpcbind)
[root@BJL18 rpc.rstatd]# yum install portmap
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
centos-base | 3.7 kB 00:00
centos-extras | 3.4 kB 00:00
centos-updates | 2.9 kB 00:00
centos-updates/primary_db | 4.5 MB 00:00
epel | 4.2 kB 00:00
puppet-dependencies | 1.9 kB 00:00
puppet-devel | 1.9 kB 00:00
puppet-product | 1.9 kB 00:00
Setting up Install Process
Package rpcbind-0.2.0-11.el6.x86_64 already installed and latest version
[root@BJL18 rpc.rstatd]# service rpcbind start
Starting rpcbind: [ OK ]
[root@BJL18 rpc.rstatd]# ./rpc.rstatd &
[1] 17025
7。Monitor name :UNIX Resources. Cannot initialize the monitoring on localhost. Error while creating the RPC client. Ensure that the machine can be connected and that it runs the rstat daemon (use rpcinfo utility for this verification).
Detailed error: RPC: Failed to create RPC client.RPC-TCP: Failed to establish RPC server address
[root@BJL18 rpc.rstatd]#/etc/init.d/iptables stop
8。[root@BJL18 rpc.rstatd]# rpcinfo -p
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100001 5 udp 979 rstatd
100001 3 udp 979 rstatd
100001 2 udp 979 rstatd
100001 1 udp 979 rstatd
9。利用Loadunner中的Controller监控
在controller中,将Systeme Resourece Graphs中的UNIX resources拖到右键的资源监控区域
鼠标右键选择Add Measurements,添加被监控linux的IP地址localhost
相关文章推荐
- loadrunner监控linux方式之一:linux下安装rpc.rstatd 篇
- loadrunner监控linux系统,安装rstatd进程
- 配置rstatd使用LoadRunner监控Linux系统资源
- loadrunner监控linux之详解rstatd安装
- Loadrunner监控linux之详解rstatd的安装
- Linux全攻略--系统性能、进程监控和日志管理
- Linux全攻略--系统性能、进程监控和日志管理
- 通过LoadRunner监控Linux的资源状况
- [转] Linux下性能监控工具介绍
- 通过LoadRunner监控Linux的资源状况
- Loadrunner 监控Unix系统性能指标的解释
- Linux全攻略--系统性能、进程监控和日志管理 推荐
- Linux平台下监控Oracle数据库性能
- 系统性能监控--linux top命令详解
- LoadRunner监控Linux资源时弹出如下错误
- Loadrunner监控Linux与windows方法
- Linux全攻略--系统性能、进程监控和日志管理
- LR监控linux之详解rstatd的安装-Zee
- 如何通过LoadRunner监控Linux和Unix操作系统的资源状况
- Linux中系统整体性能监控工具详细介绍