diff options
-rw-r--r-- | sos/plugins/xen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/xen.py b/sos/plugins/xen.py index c55b3fdc..40625895 100644 --- a/sos/plugins/xen.py +++ b/sos/plugins/xen.py @@ -41,7 +41,7 @@ class Xen(Plugin, RedHatPlugin): return (self.determine_xen_host() == "baremetal") def is_running_xenstored(self): - xs_pid = os.popen("pidof xenstored").read() + xs_pid = self.call_ext_prof("pidof xenstored")['ouput'] xs_pidnum = re.split('\n$',xs_pid)[0] return xs_pidnum.isdigit() |