From: Steve Dickson Date: Tue, 28 Sep 2010 12:24:16 +0000 (-0400) Subject: Revert "nfs-iostat.py: don't wait for an extra interval when given a count" X-Git-Tag: nfs-utils-1-2-3 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=554df6bc8456c6971c1c597f70d3b9131e4e5e11;p=nfs-utils.git Revert "nfs-iostat.py: don't wait for an extra interval when given a count" This reverts commit 837796686ad8f9178c7b6855ada728a53ae511e3. --- diff --git a/tools/nfs-iostat/nfs-iostat.py b/tools/nfs-iostat/nfs-iostat.py index 1242379..1207674 100644 --- a/tools/nfs-iostat/nfs-iostat.py +++ b/tools/nfs-iostat/nfs-iostat.py @@ -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