51Testing软件测试论坛
标题:
请问LoadRunner监控unix时的Disk Traffic 是什么啊(术语叫什么) 单位是多少?
[打印本页]
作者:
b271019969
时间:
2011-4-2 09:32
标题:
请问LoadRunner监控unix时的Disk Traffic 是什么啊(术语叫什么) 单位是多少?
请问LoadRunner监控unix时的Disk Traffic 是什么啊(术语叫什么) 单位是多少?
网上我查了 没查到 我理解是 磁盘交互
谢谢各位大侠帮下忙
作者:
b271019969
时间:
2011-4-2 09:35
帮帮我
作者:
xfde51
时间:
2011-4-2 10:15
LoadRunner Controller 菜单 tools –> options 中我们可以看到是3秒钟采集一次服务器的资源信息,如下图所示:
[attach]72272[/attach]
这就等价于以下命令:
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
作者:
archonwang
时间:
2011-4-2 11:27
受教育了。谢谢。
作者:
liuliu022004
时间:
2011-6-16 09:50
学习了。多谢
作者:
lqdby
时间:
2012-7-9 11:11
3楼答的是什么跟什么,答非所问,不清不楚
作者:
zyp_97
时间:
2012-8-8 15:29
回复
6#
lqdby
同感
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2