aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2013-04-26 17:32:21 +0100
committerBryn M. Reeves <bmr@redhat.com>2013-04-26 17:32:21 +0100
commit7a48d138f86bf1a9d8aa54846f4d1c0adce96ad6 (patch)
treec4ab0735952b317ab9abe0cce29b8409e51c9076
parent2a18d46423d1a500842dd70a04fb149451a3ceac (diff)
downloadsos-7a48d138f86bf1a9d8aa54846f4d1c0adce96ad6.tar.gz
Fix nfsstat invocation in nfsserver plug-in
The '-a' option is an undocumented option to nfsstat that only reports that ACL data is not yet implemented. The options should be '-o all' to retrieve all available NFS stats. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/nfsserver.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/plugins/nfsserver.py b/sos/plugins/nfsserver.py
index 897586d4..7ae704ee 100644
--- a/sos/plugins/nfsserver.py
+++ b/sos/plugins/nfsserver.py
@@ -47,4 +47,5 @@ class NfsServer(Plugin, RedHatPlugin):
"/var/lib/nfs/xtab",
"/var/lib/nfs/rmtab"])
self.add_cmd_output("rpcinfo -p localhost")
- self.add_cmd_output("nfsstat -a")
+ self.add_cmd_output("nfsstat -o all")
+