sar -b看IO

295 篇文章 0 订阅
[root@abc ~]#  man sar
       -b     Report I/O and transfer rate statistics.  The following values are displayed:
              tps
                     Total number of transfers per second that were issued to physical devices.  A transfer is an I/O request to a physical device. Multiple logical requests  can  be  combined into a single I/O request to the device.  A transfer is of indeterminate size.
              rtps
                     Total number of read requests per second issued to physical devices.
              wtps
                    Total number of write requests per second issued to physical devices.
              bread/s
                     Total  amount  of data read from the devices in 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.
              bwrtn/s
                     Total amount of data written to devices in blocks per second.

[root@abc ~]# sar -b 1 5
Linux 2.6.32-642.el6.x86_64 (abc) 	06/06/2018 	_x86_64_	(4 CPU)


12:12:02 PM       tps      rtps      wtps   bread/s   bwrtn/s
12:12:03 PM      2.00      0.00      2.00      0.00     64.00
12:12:04 PM      0.00      0.00      0.00      0.00      0.00
12:12:05 PM      0.00      0.00      0.00      0.00      0.00
12:12:06 PM      2.00      0.00      2.00      0.00     64.00
12:12:07 PM      0.00      0.00      0.00      0.00      0.00
Average:         0.80      0.00      0.80      0.00     25.60


[root@abc ~]# 


  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值