diff options
Diffstat (limited to 'sos/plugins/process.py')
-rw-r--r-- | sos/plugins/process.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sos/plugins/process.py b/sos/plugins/process.py index ebe2ed4c..98b8a2fa 100644 --- a/sos/plugins/process.py +++ b/sos/plugins/process.py @@ -20,11 +20,11 @@ class process(Plugin, RedHatPlugin): """process information """ def setup(self): - self.collectExtOutput("/bin/ps auxwww", root_symlink = "ps") - self.collectExtOutput("/bin/ps auxwwwm") - self.collectExtOutput("/bin/ps alxwww") - self.collectExtOutput("/usr/bin/pstree", root_symlink = "pstree") - self.collectExtOutput("/usr/sbin/lsof -b +M -n -l", root_symlink = "lsof") + self.addCmdOutput("/bin/ps auxwww", root_symlink = "ps") + self.addCmdOutput("/bin/ps auxwwwm") + self.addCmdOutput("/bin/ps alxwww") + self.addCmdOutput("/usr/bin/pstree", root_symlink = "pstree") + self.addCmdOutput("/usr/sbin/lsof -b +M -n -l", root_symlink = "lsof") def find_mountpoint(s): if (os.path.ismount(s) or len(s)==0): return s |