Fix error in disk util stats for terse output
authorJens Axboe <axboe@kernel.dk>
Tue, 18 Oct 2011 06:31:01 +0000 (08:31 +0200)
committerJens Axboe <axboe@kernel.dk>
Tue, 18 Oct 2011 06:31:01 +0000 (08:31 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
HOWTO
diskutil.c

diff --git a/HOWTO b/HOWTO
index 34c3505..ef8f959 100644 (file)
--- a/HOWTO
+++ b/HOWTO
@@ -1382,8 +1382,7 @@ Split up, the format is as follows:
        Disk utilization: Disk name, Read ios, write ios,
                          Read merges, write merges,
                          Read ticks, write ticks,
-                         Read in-queue time, write in-queue time,
-                         Disk utilization percentage
+                         Time spent in queue, disk utilization percentage
        Additional Info (dependant on continue_on_error, default off): total # errors, first error code 
        
        Additional Info (dependant on description being set): Text description
index 24e1782..3168b59 100644 (file)
@@ -550,7 +550,7 @@ void print_disk_util(struct disk_util_stat *dus, struct disk_util_agg *agg,
                                        dus->ticks[0], dus->ticks[1],
                                        dus->time_in_queue, util);
        } else {
-               log_info(";%s;%u;%u;%u;%u;%lu;%lu;%u;%u;%u;%u;%3.2f%%",
+               log_info(";%s;%u;%u;%u;%u;%u;%u;%u;%3.2f%%",
                                        dus->name, dus->ios[0], dus->ios[1],
                                        dus->merges[0], dus->merges[1],
                                        dus->ticks[0], dus->ticks[1],