btt: fix iostat interval default
authorAaron Carroll <aaronc@gelato.unsw.edu.au>
Wed, 13 Feb 2008 07:46:40 +0000 (18:46 +1100)
committerAlan D. Brunelle <alan.brunelle@hp.com>
Wed, 13 Feb 2008 16:42:48 +0000 (11:42 -0500)
Change the default iostat interval from 1ns to 1s, which is the
default implied by btt.1 and common sense.

Signed-off-by: Aaron Carroll <aaronc@gelato.unsw.edu.au>
btt/iostat.c

index f46d57215908e6080c0f9fde2fc3fd84734af811..e920c804f4362454fdc85485f58bbb5fd3217ab2 100644 (file)
@@ -49,7 +49,7 @@
        } while (0)
 
 __u64 last_start, iostat_last_stamp;
-__u64 iostat_interval = 1;
+__u64 iostat_interval = 1000000000;
 char *iostat_name = NULL;
 FILE *iostat_ofp = NULL;