aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2012-12-11 19:36:18 +0000
committerBryn M. Reeves <bmr@redhat.com>2012-12-11 19:36:18 +0000
commit1a0c39917ebc7c1636b702a6a6a0719b72795864 (patch)
treec50c30a8547b427fac215fca89a25c4b65fc6d90
parentddbfef70b8e218bba8ecdfbfae5e0986950ff61b (diff)
downloadsos-1a0c39917ebc7c1636b702a6a6a0719b72795864.tar.gz
Collect file lists for /var/lib
Collect a list of files and directories under /var/lib using ls -lR and tree (if available).
-rw-r--r--sos/plugins/general.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sos/plugins/general.py b/sos/plugins/general.py
index a41c4a7a..89370cdf 100644
--- a/sos/plugins/general.py
+++ b/sos/plugins/general.py
@@ -53,6 +53,8 @@ class general(Plugin):
self.collectExtOutput("/usr/sbin/alternatives --display java",
root_symlink="java")
self.collectExtOutput("/usr/bin/readlink -f /usr/bin/java")
+ self.collectExtOutput("/usr/bin/tree /var/lib")
+ self.collectExtOutput("/bin/ls -lR /var/lib")
class RedHatGeneral(general, RedHatPlugin):