如何使用lr監視伺服器linux的方法

來源:互聯網
上載者:User
一、在伺服器上安裝rstatd守護進程
安裝步驟:
1. 從網上下載rstatd
2. 將該檔案放到/home/user目錄下
3. chmod 777 rpc.rstatd----改變該檔案讀寫的許可權,擁有所有許可權。
4. chmod 777 configure ---同上
5. ./configure ---配置
6. make ---編譯
7. make install ---安裝
8. rpc.rstatd ---啟動rstatd進程

二、在lr中配置
     從LR裡面add measurement, 填寫linux機器的IP,出現所有unix/linux的計數器,包括cpu的,mem的,disk,network的。介紹幾個常用的:
average load :在過去的1分鐘,的平均負載
cpu utilization: cpu的使用率
disk traffic: disk傳輸率
paging rate: 每秒從磁碟讀到實體記憶體,或者從實體記憶體寫到分頁檔的記憶體頁數
Swap-in rate: 每秒交換到記憶體的進程數
Swap-out rate: 每秒從記憶體交換出來的進程

相關文章

聯繫我們

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