]> git.decadent.org.uk Git - nfs-utils.git/commit
nfs-iostat.py: don't wait for an extra interval when given a count
authorDavid Lecorfe <dlecorfec@gmail.com>
Mon, 27 Sep 2010 17:29:31 +0000 (13:29 -0400)
committerSteve Dickson <steved@redhat.com>
Mon, 27 Sep 2010 17:29:31 +0000 (13:29 -0400)
commit837796686ad8f9178c7b6855ada728a53ae511e3
tree659473acc00e721dd0a04031508ebbc4eb4c8cc3
parenteaa588a137b0b2f38aa9e9c542635a222e51ee48
nfs-iostat.py: don't wait for an extra interval when given a count

If I invoke the tool with an interval of 10 and a count of 2, it will:
- show the summary
- sleep 10s
- show the stats for the last 10s
- sleep 10s
- exit

Signed-off-by: David Lecorfe <dlecorfec@gmail.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
tools/nfs-iostat/nfs-iostat.py