summaryrefslogtreecommitdiffstats
path: root/core/modules/debug-report-bwlp
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/debug-report-bwlp')
-rwxr-xr-xcore/modules/debug-report-bwlp/data/opt/openslx/bin/debug_report8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/modules/debug-report-bwlp/data/opt/openslx/bin/debug_report b/core/modules/debug-report-bwlp/data/opt/openslx/bin/debug_report
index 0a361c6d..14cdaf4e 100755
--- a/core/modules/debug-report-bwlp/data/opt/openslx/bin/debug_report
+++ b/core/modules/debug-report-bwlp/data/opt/openslx/bin/debug_report
@@ -89,9 +89,17 @@ echo -n "."
systemctl status > "generated/systemctl-status-out" 2> "generated/systemctl-status-err"
echo -n "."
+systemd-analyze plot > "generated/systemd-plot.svg" 2> "generated/systemd-plot.err"
+echo -n "."
+
ps auxf > "generated/ps-out" 2> "generated/ps-err"
echo -n "."
+if [ -n "$DISPLAY" ]; then
+ xrandr --verbose > "generated/xrandr-out" 2> "generated/xrandr-err"
+ echo -n "."
+fi
+
find generated/ -type f -name "*-err" -size 0 -delete > /dev/null 2>/dev/null
echo "..fertig!"