diff options
author | Scott Mayhew <smayhew@redhat.com> | 2014-10-20 16:41:13 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2014-12-13 10:40:28 -0500 |
commit | 17ca77b621fa94a1b0354e39be203c23243dfba8 (patch) | |
tree | 3ff07e922694994a3e5e1d14c6bf08ca7bbc4b81 | |
parent | 69d6113cfd8d059b09622477226180d02ebd564e (diff) | |
download | nfs-utils-17ca77b621fa94a1b0354e39be203c23243dfba8.tar.gz nfs-utils-17ca77b621fa94a1b0354e39be203c23243dfba8.tar.xz nfs-utils-17ca77b621fa94a1b0354e39be203c23243dfba8.zip |
mountstats: Make print_iostat_summary handle newly appearing mounts
Signed-off-by: Scott Mayhew <smayhew@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r-- | tools/mountstats/mountstats.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mountstats/mountstats.py b/tools/mountstats/mountstats.py index c8cb718..51b4c76 100644 --- a/tools/mountstats/mountstats.py +++ b/tools/mountstats/mountstats.py @@ -594,7 +594,7 @@ def print_iostat_summary(old, new, devices, time): for device in devices: stats = DeviceData() stats.parse_stats(new[device]) - if not old: + if not old or device not in old: stats.display_iostats(time) else: old_stats = DeviceData() |