linux效能監控工具collectl安裝及簡要使用說明

來源:互聯網
上載者:User

[root@test45 ~]# vi  /etc/resolv.conf

nameserver 202.106.0.20

1.root下執行

perl -MCPAN -e shell

在選擇視窗選擇no,不進行cpan環境參數的配置

2.在cpan命令列下執行命令如下

cpan>install Time::HiRes

3.在cpan命令列下執行命令如下

cpan>install Compress::Zlib

以上安裝兩個模組中間出現提示符,斷行符號即可。

然後quit/exit退出perl cpan

到官方網站下載原始碼:

wget http://jaist.dl.sourceforge.net/sourceforge/collectl/collectl-3.1.3.src.tar.gz

#tar zxvf collectl-3.1.3.src.tar.gz

#cd collectl-3.1.3

#./INSTALL

a.運行命令:collectl -scdnm -oT 收集包括IO/CPU/Network/NFS/Infiniband/Lustre/Process/Slabs等等。

b. 可以組建記錄檔檔案,如:以1/4秒採集系統資料並儲存到記錄檔中,

collectl -i.25 -oDm --iosize > testPerf.log

c.可以用nmon analyser來產生由collectl產生的檔案。需要對nmon analyser的指令碼做一定的改寫.

d.支援socket發送資料,可以即時監控很多linux系統的機器

更詳細的命令參數請參考man collectl

參考資料:

http://collectl.sourceforge.net/

http://dt1.iteye.com/blog/333972

http://apps.hi.baidu.com/share/detail/14465228

http://hi.baidu.com/thinke365/blog/item/113c82c543704ba28226ac0c.html

 

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.