aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2020-11-10 12:42:09 +0100
committerJake Hunsaker <jhunsake@redhat.com>2020-11-10 12:17:15 -0500
commitdfd6fe7acdac5d7e96c0aa06c287d164241bba4c (patch)
treec320a9fd4e3981e0e2f554dd9a39d666f241814a
parentbbd28011f8bb710d64283bd6d3ec68c0fb5430b4 (diff)
downloadsos-dfd6fe7acdac5d7e96c0aa06c287d164241bba4c.tar.gz
[ds] collect listing of DB files
The listing helps to troubleshoot possible DB corruption issues. Resolves: #2303 Signed-off-by: Pavel Moravec <pmoravec@redhat.com> Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r--sos/report/plugins/ds.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sos/report/plugins/ds.py b/sos/report/plugins/ds.py
index 32ed2fc3..bec42d8a 100644
--- a/sos/report/plugins/ds.py
+++ b/sos/report/plugins/ds.py
@@ -70,4 +70,6 @@ class DirectoryServer(Plugin, RedHatPlugin):
"/opt/redhat-ds/slapd-*/logs"
])
+ self.add_cmd_output("ls -l /var/lib/dirsrv/slapd-*/db/*")
+
# vim: set et ts=4 sw=4 :