mountstats: Fix the retrans counter output by the nfsstat command
Subsystems (2)
PATCH 1/1 mountstats: Fix the retrans counter output by the nfsstat command
Signed-off-by Scott Mayhew <[email protected]>
--- tools/mountstats/mountstats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/mountstats/mountstats.py +1 -1
@@ -474,7 +474,7 @@ class DeviceData: # authrefresh stats don't actually get captured in # /proc/self/mountstats, so we fudge it here authrefrsh = sends - return (sends, trans, authrefrsh) + return (sends, retrans, authrefrsh) def display_nfsstat_stats(self): """Pretty-print nfsstat-style stats
Signature · 1 line
1.9.3
Quoted 4 lines · Scott Mayhew
Signed-off-by Scott Mayhew <[email protected]>--- tools/mountstats/mountstats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Committed...
steved.
Quoted 15 lines
tools/mountstats/mountstats.py +1
-1@@ -474,7 +474,7 @@ class DeviceData: # authrefresh stats don't actually get captured in # /proc/self/mountstats, so we fudge it here authrefrsh = sends - return (sends, trans, authrefrsh) + return (sends, retrans, authrefrsh) def display_nfsstat_stats(self): """Pretty-print nfsstat-style stats