From 812df795c346c39002fb2cd60740866b2960c8c6 Mon Sep 17 00:00:00 2001 From: Joern Siglen Date: Mon, 14 Feb 2022 13:24:13 +0100 Subject: [PATCH] dbginfo.sh: (re)group commands by topic MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Sa Liu Reviewed-by: Mario Held Signed-off-by: Jan Höppner --- scripts/dbginfo.sh | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/scripts/dbginfo.sh b/scripts/dbginfo.sh index 521e364d..fa357ae3 100755 --- a/scripts/dbginfo.sh +++ b/scripts/dbginfo.sh @@ -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\