diff options
author | Simon Rettberg | 2017-12-14 14:14:58 +0100 |
---|---|---|
committer | Your Name | 2017-12-14 14:14:58 +0100 |
commit | 545f65a76d522848330dd420a57f88cbeed414dc (patch) | |
tree | 399d05d72812f395249a81d99512e7d7d7e5a188 /core/modules/debug-report-bwlp | |
parent | [run-virt] Add 'bootIp=x.x.x.x' to openslx.ini so the VM can know the host's ... (diff) | |
download | mltk-545f65a76d522848330dd420a57f88cbeed414dc.tar.gz mltk-545f65a76d522848330dd420a57f88cbeed414dc.tar.xz mltk-545f65a76d522848330dd420a57f88cbeed414dc.zip |
[debug-report-bwlp] Extend: systemd-analyze and xrandr
Diffstat (limited to 'core/modules/debug-report-bwlp')
-rwxr-xr-x | core/modules/debug-report-bwlp/data/opt/openslx/bin/debug_report | 8 |
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!" |