summaryrefslogtreecommitdiffstats
path: root/core/modules/debug-report-bwlp
diff options
context:
space:
mode:
authorSimon Rettberg2018-03-16 13:19:30 +0100
committerSimon Rettberg2018-03-16 13:19:30 +0100
commit254c7f2943078ba4cd3f026dab8beccad97a365d (patch)
tree1ccaf49b9fc2208a833121d5434f24ad7b751fb8 /core/modules/debug-report-bwlp
parent[dnbd3] Update commit hash (diff)
downloadmltk-254c7f2943078ba4cd3f026dab8beccad97a365d.tar.gz
mltk-254c7f2943078ba4cd3f026dab8beccad97a365d.tar.xz
mltk-254c7f2943078ba4cd3f026dab8beccad97a365d.zip
[debug-report-bwlp] Include iptables rules, fdisk output, /dev listing
Diffstat (limited to 'core/modules/debug-report-bwlp')
-rwxr-xr-xcore/modules/debug-report-bwlp/data/opt/openslx/bin/debug_report11
1 files changed, 11 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 c4239190..0d1837a8 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
@@ -95,6 +95,17 @@ echo -n "."
ps auxf > "generated/ps-out" 2> "generated/ps-err"
echo -n "."
+for table in filter nat mangle; do
+ iptables -t "$table" -L -v -n > "generated/ipt-${table}-out" 2> "generated/ipt-${table}-err"
+done
+echo -n "."
+
+fdisk -l > "generated/fdisk-out" 2> "generated/fdisk-err"
+echo -n "."
+
+ls -al /dev /dev/disk/* &> "generated/ls-dev-and-disks"
+echo -n "."
+
if [ -z "$DISPLAY" ]; then
DISPLAY=:0
XAUTHORITY=$(ps a | grep " $DISPLAY " | grep -o -- '-auth.*$' | grep -m1 -v grep | awk '{print $2}')