aboutsummaryrefslogtreecommitdiffstats
path: root/src/example_plugins/fsusage.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/example_plugins/fsusage.py')
-rw-r--r--src/example_plugins/fsusage.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/example_plugins/fsusage.py b/src/example_plugins/fsusage.py
index 898aaa12..2532c5f7 100644
--- a/src/example_plugins/fsusage.py
+++ b/src/example_plugins/fsusage.py
@@ -18,6 +18,6 @@ import sos.plugintools
# Class name must be the same as file name and method names must not change
class fsusage(sos.plugintools.PluginBase):
- def collect(self):
- self.psCmdDstFileName = self.runExe("/bin/df -al")
+ def setup(self):
+ self.psCmdDstFileName = self.collectExtOutput("/bin/df -al")
return