aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2011-08-13 09:10:00 +0100
committerBryn M. Reeves <bmr@redhat.com>2011-08-13 09:10:00 +0100
commit598a4a8619ea261372fe375052a16fde9f4f7ded (patch)
tree26a7e123905e92c0f8453fbc1fd644aeaa9f08ee
parent660fd3b8c89471aab90244c418f31d5cebb8faa6 (diff)
downloadsos-2.2-10.el6.tar.gz
Add /proc/vmmemctl collection to vmware pluginsos-2.2-10.el6
Resolves: bz709491
-rw-r--r--sos/plugins/vmware.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/plugins/vmware.py b/sos/plugins/vmware.py
index 7891576d..11212cb8 100644
--- a/sos/plugins/vmware.py
+++ b/sos/plugins/vmware.py
@@ -19,7 +19,7 @@ class vmware(sos.plugintools.PluginBase):
"""VMWare related information
"""
def checkenabled(self):
- if os.path.exists("/usr/bin/vmware"):
+ if os.path.exists("/usr/bin/vmware") or os.path.exists("/usr/init.d/vmware-tools"):
return True
return False
@@ -27,4 +27,5 @@ class vmware(sos.plugintools.PluginBase):
self.collectExtOutput("/usr/bin/vmware -v")
self.addCopySpec("/etc/vmware/locations")
self.addCopySpec("/etc/vmware/config")
+ self.addCopySpec("/proc/vmmemctl")
return