LR監控Linux系統資源詳解

來源:互聯網
上載者:User

Average load:

Average number of processes simultaneously in Ready state during the last minute

上一分鐘同時處於“就緒”狀態的平均進程數

Collision rate

Collisions per second detected on the Ethernet

每秒鐘在乙太網路上檢測到的衝突數。

Context switches rate

Number of switches between processes or threads, per second每秒鐘在進程或線程之間的切換次數。

CPU utilization

Percent of time that the CPU is utilized

CPU 的使用時間百分比。

Disk rate

Rate of disk transfers

磁碟傳輸速率。

Incoming packets error rate

Errors per second while receiving Ethernet packets

接收乙太網路資料包時每秒鐘接收到的錯誤數。

Incoming packets rate

Incoming Ethernet packets per second

每秒鐘傳入的乙太網路資料包數。

Interrupt rate

Number of device interrupts per second

每秒內的裝置中斷數。

Outgoing packets errors rate

Errors per second while sending Ethernet packets

發送乙太網路資料包時每秒鐘發送的錯誤數。

Outgoing packets rate

Outgoing Ethernet packets per second

每秒鐘傳出的乙太網路資料包數。

Page-in rate

Number of pages read to physical memory, per second指標表明的是每秒交換到實體記憶體中的頁面數。

Page-out rate

Number of pages written to pagefile(s) and removed from physical memory, per second表示每秒從實體記憶體中移出或者寫入到頁面數。

Paging rate

Number of pages read to physical memory or written to pagefile(s), per second每秒鐘讀入實體記憶體或寫入分頁檔中的頁數。

Swap-in rate

Number of processes being swapped

每秒交換到記憶體的進程數。

Swap-out rate

Number of processes being swapped

每秒從記憶體交換出來的進程數。

System mode CPU utilization

Percent of time that the CPU is utilized in system mode

在系統模式下使用 CPU 的時間百分比。

User mode CPU utilization

Percent of time CPU is utilized in user mode

在使用者模式下使用 CPU 的時間百分比。

一些常見的問題及處理方法:

1、在執行配置或安裝命令過程中出現“拒絕的許可權”的提示?

答:是由於檔案的許可權引起的,應該給目前使用者所有檔案的“777”許可權,即完全控制許可權。

2、安裝好後從LoadRunner中看不到資訊,但是沒有報錯?

答:可能是返回的資訊值比較小,所以在圖中幾乎看不到,例如:如果沒有運行程式的話,CPU的使用率接近於0,所以在監視圖中看不到變化。也有可能是採樣的頻率過大,可以在圖表中設定沒1 秒擷取一次資訊,這樣介面就重新整理的比較及時了。

3、監視一段時間後LoadRunner中提示有錯誤發生不能繼續監視到資訊?

答:可能是由於CPU長時間處於高負荷狀態,而導致系統自動關閉了該服務。可以在LoadRunner中重新加一次計數器,並且設定取樣的時間稍長一點,就會避免這種情況。

4、以前用LoadRunner監視都是成功的,但是再次監視不到資訊?

答:有可能是由於系統重新啟動,而沒有開啟rstatd守護進程。可以手工重新開啟一次,使用命令“rpc.rstatd”,另外可以使用“rpcinfo -p”命令來查看當前系統是否已經啟動了rstatd守護進程。

5、使用LR監視Linux視窗,經常丟失?

這是你圖形顯示時間設定問題,跟lr穩定不穩定沒關係,具體設定如下:1.運行Controller 2.在"Unix Resources"圖形視窗中,點擊右鍵,選擇Configure選項3.隨後彈出“Graph Configuration”視窗,在該視窗有一個選項“Graph Time(sec)”,預設顯示是60秒這裡共有4個選項:60秒,180秒,600秒,3600秒,whole scenario整個情境運行都顯示圖形資料)

註:如果按照你疲勞測試動則十幾小時的情況來看,應該選擇whole scenario整個情境運行都顯示圖形資料)

聯繫我們

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