From b8ae5c63fcbe3d0e53af6f2893d3b1167cfffccf Mon Sep 17 00:00:00 2001 From: winlin Date: Sun, 27 Jul 2014 18:05:54 +0800 Subject: [PATCH] add disk io test command --- trunk/src/app/srs_app_utility.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/trunk/src/app/srs_app_utility.hpp b/trunk/src/app/srs_app_utility.hpp index 63a4c60f5..26b26b348 100644 --- a/trunk/src/app/srs_app_utility.hpp +++ b/trunk/src/app/srs_app_utility.hpp @@ -327,7 +327,8 @@ extern void srs_update_proc_stat(); // for device disk io, @see: cat /proc/diskstats // @remark, user can use command to test the disk io: // time dd if=/dev/zero bs=1M count=2048 of=file_2G -// @remark, the iotop is right, the iostat and dstat result seems not ok. +// @remark, the iotop is right, the dstat result seems not ok, +// while the iostat only show the number of writes, not the bytes, // where the dd command will give the write MBps, it's absolutely right. class SrsDiskStat {