options中我們可以看到是3秒鐘采集一次服務器的資源信息,如下圖所示:這就等價于以下命令:iostat–d3n輸出的tps或者iostat–x3中的r/s+w/siostat–d3n的輸出類似如下:#iostat-d3nLinux2.6.18-194.el5(www2.×××.cn)01/23/2011_x86_64_(8CPU)Device:tpsBlk_read/sBlk_wrtn/sBlk" />

日韩久久久精品,亚洲精品久久久久久久久久久,亚洲欧美一区二区三区国产精品 ,一区二区福利

unix 計數器disk traffic含義補充

系統 2431 0

LoadRunner Controller 菜單 tools –> options 中我們可以看到是3秒鐘采集一次服務器的資源信息,如下圖所示:

image

這就等價于以下命令:

iostat –d 3n 輸出的tps
或者 iostat –x 3 中的 r/s+w/s

iostat –d 3n 的輸出類似如下:

# iostat -d 3n
Linux 2.6.18-194.el5 (www2.×××.cn) 01/23/2011 _x86_64_ (8 CPU)

Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
sda 3.94 171.62 80.80 362832 170820
sdb 0.22 1.53 3.27 3240 6912

Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
sda 1.66 5.32 61.13 16 184
sdb 0.66 0.00 7.97 0 24

Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn
sda 0.00 0.00 0.00 0 0
sdb 0.00 0.00 0.00 0 0

iostat –x 3 的輸出類似如下:

# iostat -x 3
Linux 2.6.18-194.el5 (www2.×××.cn) 01/23/2011 _x86_64_ (8 CPU)

avg-cpu: %user %nice %system %iowait %steal %idle
4.42 0.00 0.34 0.16 0.00 95.08

Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
sda 3.23 7.94 1.90 1.97 167.59 79.25 63.88 0.06 15.07 3.55 1.37
sdb 0.02 0.32 0.12 0.10 1.49 3.31 21.52 0.00 2.32 1.29 0.03

avg-cpu: %user %nice %system %iowait %steal %idle
0.04 0.00 0.08 0.12 0.00 99.75

Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
sda 0.00 5.00 0.00 1.00 0.00 48.00 48.00 0.01 7.67 7.67 0.77
sdb 0.00 0.33 0.00 0.67 0.00 8.00 12.00 0.00 0.50 0.50 0.03

avg-cpu: %user %nice %system %iowait %steal %idle
0.00 0.00 0.04 0.08 0.00 99.88

Device: rrqm/s wrqm/s r/s w/s rsec/s wsec/s avgrq-sz avgqu-sz await svctm %util
sda 0.00 2.67 0.00 1.33 0.00 32.00 24.00 0.01 8.00 6.25 0.83
sdb 0.00 0.33 0.00 0.67 0.00 8.00 12.00 0.00 0.50 0.50 0.03

參考資料

服務器監控性能指標
http://hi.baidu.com/gotech/blog/item/ce0ded13df132f045baf5354.html

unix 計數器disk traffic含義
http://www.51testing.com/?uid-13997-action-viewspace-itemid-5081

unix 計數器disk traffic含義補充


更多文章、技術交流、商務合作、聯系博主

微信掃碼或搜索:z360901061

微信掃一掃加我為好友

QQ號聯系: 360901061

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描下面二維碼支持博主2元、5元、10元、20元等您想捐的金額吧,狠狠點擊下面給點支持吧,站長非常感激您!手機微信長按不能支付解決辦法:請將微信支付二維碼保存到相冊,切換到微信,然后點擊微信右上角掃一掃功能,選擇支付二維碼完成支付。

【本文對您有幫助就好】

您的支持是博主寫作最大的動力,如果您喜歡我的文章,感覺我的文章對您有幫助,請用微信掃描上面二維碼支持博主2元、5元、10元、自定義金額等您想捐的金額吧,站長會非常 感謝您的哦!!!

發表我的評論
最新評論 總共0條評論
主站蜘蛛池模板: 卢氏县| 文登市| 上饶市| 东光县| 泰安市| 孟连| 申扎县| 那曲县| 阳城县| 鹤庆县| 黄浦区| 关岭| 罗平县| 醴陵市| 深圳市| 抚顺市| 定襄县| 崇仁县| 大足县| 平果县| 通海县| 白朗县| 林芝县| 保亭| 汶川县| 旬邑县| 怀来县| 桦川县| 酒泉市| 吉木萨尔县| 孟津县| 舞钢市| 锦屏县| 永安市| 佛冈县| 青海省| 岚皋县| 富顺县| 新化县| 康马县| 徐水县|