免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1476 | 回复: 2
打印 上一主题 下一主题

问一个关于iostat输出的问题。 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-02-20 12:09 |只看该作者 |倒序浏览
我用如下方式输出..
先看如下输出。。

[oratest@testdb tuning]$ iostat -d 2 1
Linux 2.4.21-32.ELsmp (testdb.tencent.com)      02/20/2006

Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
sda               9.56        23.41       125.45   66152382  354526630
sda1              0.00         0.00         0.00        368        414
sda2              1.61         9.68        25.47   27349554   71970512
sda3              0.00         0.00         0.06       2122     157744
sda4              0.00         0.00         0.00         16          0
sda5              0.00         0.02         0.07      45976     209592
sda6              7.94        13.71        99.85   38748106  282188368

[oratest@testdb tuning]$

[ 本帖最后由 lijietz 于 2006-2-20 12:15 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2006-02-20 12:10 |只看该作者
man iostat后。。发现这2个数字是以块为单位的读写统计。。

    tps
                     Indicate  the  number  of  transfers per second that were
                     issued to the device. A transfer is an I/O request to the
                     device.  Multiple logical requests can be combined into a
                     single I/O request to the device. A transfer is of  inde-
                     terminate size.

              Blk_read/s
                     Indicate the amount of data read from the drive expressed
                     in a number of blocks per second. Blocks  are  equivalent
                     to  sectors with 2.4 kernels and newer and therefore have
                     a size of 512 bytes. With older kernels, a  block  is  of
                     indeterminate size.

              Blk_wrtn/s
                     Indicate   the  amount  of  data  written  to  the  drive
                     expressed in a number of blocks per second.

              Blk_read
                     The total number of blocks read.

              Blk_wrtn
                     The total number of blocks written.

[ 本帖最后由 lijietz 于 2006-2-20 12:13 编辑 ]

论坛徽章:
0
3 [报告]
发表于 2006-02-20 12:17 |只看该作者
自己想明白了。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP