正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
| @@ -327,7 +327,8 @@ extern void srs_update_proc_stat(); | @@ -327,7 +327,8 @@ extern void srs_update_proc_stat(); | ||
| 327 | // for device disk io, @see: cat /proc/diskstats | 327 | // for device disk io, @see: cat /proc/diskstats |
| 328 | // @remark, user can use command to test the disk io: | 328 | // @remark, user can use command to test the disk io: |
| 329 | // time dd if=/dev/zero bs=1M count=2048 of=file_2G | 329 | // time dd if=/dev/zero bs=1M count=2048 of=file_2G |
| 330 | -// @remark, the iotop is right, the iostat and dstat result seems not ok. | 330 | +// @remark, the iotop is right, the dstat result seems not ok, |
| 331 | +// while the iostat only show the number of writes, not the bytes, | ||
| 331 | // where the dd command will give the write MBps, it's absolutely right. | 332 | // where the dd command will give the write MBps, it's absolutely right. |
| 332 | class SrsDiskStat | 333 | class SrsDiskStat |
| 333 | { | 334 | { |
-
请 注册 或 登录 后发表评论