自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

LoadRunner如何監(jiān)控Linux系統(tǒng)資源

運維 系統(tǒng)運維
本文講述了LoadRunner如何監(jiān)控Linux系統(tǒng)資源的方法。

一 簡述:LoadRunner監(jiān)控Linux資源時彈出如下錯誤:

Monitor name :UNIX Resources. Cannot initialize the monitoring on 192.168.52.189. 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.

上述問題的實質(zhì)是Linux系統(tǒng)中未安裝rpc.rstatd,服務未開啟的原因造成。

于是接下來就驗證我們的推測:

首先查看rpc.rstatd是否安裝

[root@localhost bin]# whereis rpc.rstatd

發(fā)現(xiàn)系統(tǒng)未安裝rpc.rstatd

備注:rstatd Rstat協(xié)議允許網(wǎng)絡上的用戶獲得同一網(wǎng)絡上各機器的性能參數(shù)。

二 準備下載包:下載rpc.rstatd-4.0.1.tar.gz安裝包

下載地址:http://sourceforge.net/projects/rstatd

利用ssh客戶端上傳rpc.rstatd-4.0.1.tar.gz包至Linux下/home/Michael/tool/目錄下

三 執(zhí)行安裝程序包:

tar -xzvf  rpc.rstatd-4.0.1.tar.gz   //解壓rcp.rstatd

cd  rpc.rstatd-4.0.1//進入到rpc.rstatd目錄中

./configure  //配置rc.rstatd的安裝,以下我的是按照默認方式的

make  //編譯rc.rstatd

make install   // 安裝

四 重啟xinetd

/etc/init.d/xinetd restart

五 修改etc/xinetd.d目錄下面的3個conf (rlogin, rsh, rexec)中的disable置均設置為no

cd /etc/xinetd.d   //進入到etc/xinetd.conf目錄中

Virlogin //編輯disable=no,保存

Virsh// 編輯disable=no,保存

Virexec //編輯disable=no,保存

六 啟動rpc.rstatd和檢測

rpc.rstatd//啟動rpc.rstatd進程

rpcinfo –p  // 執(zhí)行此命令檢查rpc服務的狀態(tài)

[root@localhost xinetd.d]# rpcinfo -p

程序版本協(xié)議   端口

1000002   tcp111  portmapper

1000002   udp111  portmapper

1000241   udp  32768  status

1000241   tcp  32769  status

1000015   udp867  rstatd

1000013   udp867  rstatd

1000012   udp867  rstatd

1000011   udp867  rstatd

七 利用Loadunner中的Controller監(jiān)控Linux資源

1  在controller中,將Systeme Resourece Graphs中的UNIX resources拖到右鍵的資源監(jiān)控區(qū)域

2  鼠標右鍵選擇Add Measurements,添加被監(jiān)控linux的IP地址192.168.52.189,選擇需監(jiān)控的性能指標,確認

【編輯推薦】

  1. 監(jiān)視Linux系統(tǒng)資源的使用情況
  2. Linux系統(tǒng)自動化管理: 遠程登錄
  3. 在Linux系統(tǒng)上實現(xiàn)虛擬主機的注意事項
責任編輯:趙寧寧 來源: chinaitlab
相關(guān)推薦

2016-11-15 15:23:27

2009-09-28 10:34:32

LR監(jiān)控Linux系統(tǒng)資源Linux

2014-12-23 09:43:33

linux監(jiān)控工具

2009-10-21 12:42:20

Linux系統(tǒng)資源操作系統(tǒng)

2013-04-12 09:39:01

Top監(jiān)控系統(tǒng)

2009-06-16 09:18:26

Linux系統(tǒng)管理系統(tǒng)資源

2017-03-14 09:13:14

Linux工作管理系統(tǒng)資源

2010-04-23 12:35:17

2011-08-10 10:24:55

系統(tǒng)資源統(tǒng)資源不足

2009-08-17 15:55:32

ASP.NET緩存

2022-01-24 16:17:26

htop工具Linux

2012-04-24 16:23:28

Win7

2011-08-10 11:12:03

2009-02-18 08:40:24

Windows系統(tǒng)資源解決方法

2010-03-01 08:58:23

Windows 7系統(tǒng)資源

2021-09-09 09:15:20

微軟Windows 11PC

2009-10-13 08:50:45

Windows 7關(guān)閉預覽

2011-08-08 16:27:39

ProcessTame進程

2010-05-26 12:57:59

linux 系統(tǒng)監(jiān)控

2011-08-18 15:37:02

Oracle資源管理分配計劃SQL優(yōu)化
點贊
收藏

51CTO技術(shù)棧公眾號