]> git.decadent.org.uk Git - nfs-utils.git/commitdiff
Revert "nfs-iostat.py: don't wait for an extra interval when given a count" nfs-utils-1-2-3
authorSteve Dickson <steved@redhat.com>
Tue, 28 Sep 2010 12:24:16 +0000 (08:24 -0400)
committerSteve Dickson <steved@redhat.com>
Tue, 28 Sep 2010 12:24:16 +0000 (08:24 -0400)
This reverts commit 837796686ad8f9178c7b6855ada728a53ae511e3.

tools/nfs-iostat/nfs-iostat.py

index 124237910407d332d4e43678c32799652596613a..1207674e4ad7c19b95fbddfe0de7931708015856 100644 (file)
@@ -601,8 +601,7 @@ client are listed.
         while count != 0:
             print_iostat_summary(old_mountstats, mountstats, devices, sample_time, options)
             old_mountstats = mountstats
-                       if count != 1:
-               time.sleep(interval)
+            time.sleep(interval)
             sample_time = interval
             mountstats = parse_stats_file('/proc/self/mountstats')
             # automount mountpoints add and drop, if automount is involved