loadrunner監控linux伺服器資源

來源:互聯網
上載者:User

1、loadrunner監控linux系統:
(linux系統必須安裝了rstatd服務,如果沒有就按下面的步驟安裝)service rstatd status

1)下裝rstatd包(http://sourceforge.net/projects/rstatd;)

2)安裝:

a、解壓 tar -zxvf rpc.rstatd-4.0.1.tar.gz

cd rpc.rstatd-4.0.1.tar.gz

./configure

make

make install

結束後,運行./rpc.rstatd命令,啟動服務

查看是否正常啟動,

rpcinfo -p  如果出現下面所示就表示成功了

備忘:在安裝過程中可能會出現下面的問題

1、系統沒有安裝gcc編譯器(gcc -v)

gcc編譯器安裝:gcc-4.7.0.tar.bz2
如果沒有安裝:下裝安裝
安裝過程中出現的問題(使用者獲得root許可權su):
no acceptable c compiler found in $PATH

裝yum install gcc
this system is not registored with RHM(該系統沒有有紅帽子註冊)
註冊紅帽子:
/root(su命令)
cd /etc/yum/repos.d
進入/etc/yum.repos.d/目錄,終端中輸入wget http://docs.linuxtone.org/soft/lemp/CentOS-Base.repo即可在此目錄下得到CentOS- Base.repo檔案,這是centos的源檔案,只需將其重新命名為rhel-debuginfo.repo即可,以前的檔案做個備份。

2、no targets specified and no makefile fond stop
[
你如果要在redhat5編譯C/C++程式,你必須安裝以下的軟體包:
=> autoconf:configure用的
=> make/automake: make的主程式
=> GNU GCC C 編譯器(gcc) version 4.1: 編譯C的
=> GNU GCC C++ 編譯器 (gcc-c++): 編譯C++的
]
解決方案:
#yum install gcc gcc-c++ autoconf automake

3、開啟rpc服務(service rstatd start)
4、關閉linux防火牆[root@localhost ~]# /etc/init.d/iptables stop

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.