]> git.decadent.org.uk Git - nfs-utils.git/commit
nfs-utils: nfs-iostat.py autofs cleanup and option to sort by ops/s
authorLans Carstensen <Lans.Carstensen@dreamworks.com>
Tue, 15 Sep 2009 18:41:46 +0000 (14:41 -0400)
committerSteve Dickson <steved@redhat.com>
Tue, 15 Sep 2009 18:41:46 +0000 (14:41 -0400)
commitc3203ff9a940e1e2270e06673eca77066aabd77c
tree1cbd2bd0e030772052ebd60af908ad8ab55f0a53
parent88deba4a8db06d371659aa85b668460b85900d48
nfs-utils: nfs-iostat.py autofs cleanup and option to sort by ops/s

Introduce optparse for managing command usage/help and the statistics
options. This change helps more cleanly add new options such as --sort
while preserving the iostat-like interval, count, and mount point
positional arguments.

Signed-off-by: Lans Carstensen <Lans.Carstensen@dreamworks.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
tools/nfs-iostat/nfs-iostat.py