Skip to contentSkip to conversation

mountstats: Fix the retrans counter output by the nfsstat command

PATCH In review Scott Mayhew 2 participants 2 messages May 13, 2015 – Jun 3, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mountstats: Fix the retrans counter output by the nfsstat command

---
 tools/mountstats/mountstats.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/mountstats/mountstats.py +1 -1
index 38943eb..011bb42 100644
@@ -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
#1 lore raw
Quoted 4 lines · Scott Mayhew
---
 tools/mountstats/mountstats.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Committed...

steved.

Quoted 15 lines
tools/mountstats/mountstats.py +1 -1
index 38943eb..011bb42 100644
@@ -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