日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁(yè) > 运维知识 > linux >内容正文

linux

loadrunner监控linux内存,Loadrunner11监控LINUX服务器

發(fā)布時(shí)間:2023/12/10 linux 27 豆豆
生活随笔 收集整理的這篇文章主要介紹了 loadrunner监控linux内存,Loadrunner11监控LINUX服务器 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

Loadrunner11監(jiān)控LINUX服務(wù)器

2018-11-25

1. 首先在Linux服務(wù)器上安裝rpc.rstatd服務(wù),這里用的是rpc.rstatd-4.0.1.tar.gz安裝包,如果沒有可以到該網(wǎng)址上去下載:http://sourceforge.net/projects/rstatd;

2. 執(zhí)行安裝包

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

cd??rpc.rstatd-4.0.1??? ?? ?? ?//進(jìn)入到rpc.rstatd目錄中

./configure? ?? ???? ?? ?? ?//配置rc.rstatd的安裝,以下我的是按照默認(rèn)方式的

make? ?? ???? ?? ?? ?? ? //編譯rc.rstatd

make install? ?? ???? ?? ?//安裝

3.修改etc/xinetd.d 目錄下的3個(gè)conf(rlogin,rsh,rexec)文件中的disable均設(shè)置為no,

cd /etc/xinetd.d? ?//進(jìn)入到etc/xinetd.conf目錄中

Vi? ? rlogin //編輯disable=no,保存

Vi? ? rsh? ? //編輯disable=no,保存

Vi? ? rexec //編輯disable=no,保存

4.重新啟動(dòng)xinetd:??/etc/init.d/xinetd restart;

5. 啟動(dòng)rpc.rstatd并查看是否真正啟動(dòng)該服務(wù):

rpc.rstatd? ?? ?? ???? ? //啟動(dòng)rpc.rstatd進(jìn)程

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

[root@localhostxinetd.d]# rpcinfo -p

結(jié)果如下:

從上圖中可以看出rpc.rstatd服務(wù)已經(jīng)啟動(dòng)

6. 啟動(dòng)LoadRunner并監(jiān)控Linux系統(tǒng)資源:

在controller中,將Systemresource Graphs中的Unix resources拖到右側(cè)的監(jiān)控區(qū)域中,并單擊

鼠標(biāo)右鍵選擇“Add Measurements”,

在彈出的對(duì)話框中輸入被監(jiān)控的linux系統(tǒng)的IP地址,

然后選擇需?要監(jiān)控的性能指標(biāo),并點(diǎn)擊“確定”

監(jiān)控成功如下圖:

出現(xiàn)如下錯(cuò)誤:

Monitor name :UNIX Resources.Cannot initialize the monitoring on 10.10.15.62.

Error while creating the RPC client. Ensure thatthe machine can be connected and that it runs the rstat daemon (use rpcinfoutility for this verification).

Detailed error: RPC: Failed to create RPCclient.

RPC-TCP: Failed to establish RPCserveraddress.

RPC-TCP: Failed to communicate with theportmapper on host "10.10.15.62".

RPC: RPC call failed.

RPC-TCP: recv()/recvfrom() failed.

RPC-TCP: Timeout reached. (entry point:CFactory::Initialize). [MsgId: MMSG-47190]

檢查原因,發(fā)現(xiàn)是Linux系統(tǒng)中的防火墻開啟了并且阻擋了LoadRunner監(jiān)控Linux系統(tǒng)的資源,因此要將防火墻關(guān)閉。

7.關(guān)閉防火墻: [root@localhost ~]# /etc/init.d/iptables stop;

8. 重復(fù)步驟6,成功

免責(zé)聲明:本文僅代表文章作者的個(gè)人觀點(diǎn),與本站無關(guān)。其原創(chuàng)性、真實(shí)性以及文中陳述文字和內(nèi)容未經(jīng)本站證實(shí),對(duì)本文以及其中全部或者部分內(nèi)容文字的真實(shí)性、完整性和原創(chuàng)性本站不作任何保證或承諾,請(qǐng)讀者僅作參考,并自行核實(shí)相關(guān)內(nèi)容。

http://www.pinlue.com/style/images/nopic.gif

總結(jié)

以上是生活随笔為你收集整理的loadrunner监控linux内存,Loadrunner11监控LINUX服务器的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。