dbginfo.sh: (re)group commands by topic

This change will group the commands executed for crypto, special SW or
specific for a distro into sections with a comment.
By grouping, we intend to enhance the handling in our runtime.out file
and help to understand the purpose of command groups.

Signed-off-by: Joern Siglen <siglen@de.ibm.com>
Reviewed-by: Sa Liu <saliu@de.ibm.com>
Reviewed-by: Mario Held <mario.held@de.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Joern Siglen
2022-02-14 13:24:13 +01:00
committed by Jan Höppner
parent a0d6edf03c
commit 812df795c3

View File

@@ -423,10 +423,6 @@ CMDS="uname -a\
:dmsetup table\
:dmsetup table --target multipath\
:dmsetup status\
:icainfo\
:icastats\
:ivp.e # IBM CCA package install check\
:java -version\
:last\
:lschp\
:lscpu -ae\
@@ -440,7 +436,6 @@ CMDS="uname -a\
:lsscsi\
:lsshut\
:lstape\
:lszcrypt -VV\
:lszdev\
:lszfcp\
:lszfcp -D\
@@ -459,11 +454,7 @@ CMDS="uname -a\
:multipath -v6 -ll\
:multipath -d\
:multipath -t\
:pkcsconf -mlist\
:pvpath -qa\
:SPident # SLES service package\
:cat /var/lib/opencryptoki/pk_config_data\
:ls -al /usr/lib64/opencryptoki/stdll\
:find /boot -print0 | sort -z | xargs -0 -n 10 ls -ld\
:find /dev -print0 | sort -z | xargs -0 -n 10 ls -ld\
:find /var/crash -print0 | sort -z | xargs -0 -n 10 ls -ld\
@@ -477,6 +468,23 @@ CMDS="uname -a\
:ziorep_config -ADM\
"
# crypto specific commands
CMDS="${CMDS}\
:cat /var/lib/opencryptoki/pk_config_data\
:icainfo\
:icastats\
:ivp.e # IBM CCA package install check\
:ls -al /usr/lib64/opencryptoki/stdll\
:lszcrypt -VV\
:pkcsconf -mlist\
"
# product / distro specific commands
CMDS="${CMDS}\
:java -version\
:SPident # SLES service package\
"
# commands with long output at the end
CMDS="${CMDS}\
:cat /root/.bash_history\