From be47b51890433693ca0e92316ce6e1492c046e73 Mon Sep 17 00:00:00 2001 From: Joern Siglen Date: Wed, 16 Feb 2022 11:48:21 +0100 Subject: [PATCH] dbginfo.sh: (re)group commands by z device MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This change will group the commands executed for Z device subsystem into a section with a comment. By grouping, we try to enhance the handling in our runtime.out file and help to understand the purpose of command groups. In addition we did get feedback for promoting some commands to the top. lspci -t was added on request of SMEs during the discussions Signed-off-by: Joern Siglen Reviewed-by: Sa Liu Reviewed-by: Mario Held Acked-by: Nicklas Schnelle Signed-off-by: Jan Höppner --- scripts/dbginfo.sh | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/scripts/dbginfo.sh b/scripts/dbginfo.sh index 98e8a3ed..e1b2ba04 100755 --- a/scripts/dbginfo.sh +++ b/scripts/dbginfo.sh @@ -435,20 +435,27 @@ CMDS="uname -a\ :mount\ " +# Z device subsystem commands (first commands in non alphabetical order) +CMDS="${CMDS}\ + :lschp\ + :lscss\ + :lszdev\ + :find /dev -print0 | sort -z | xargs -0 -n 10 ls -ld\ + :lspci -t\ + :lspci -vv\ + :lstape\ + :smc_dbg\ + " + CMDS="${CMDS}\ :dmsetup ls\ :dmsetup ls --tree\ :dmsetup table\ :dmsetup table --target multipath\ :dmsetup status\ - :lschp\ - :lscss\ :lsdasd\ :lsdasd -u\ - :lspci -vv\ :lsscsi\ - :lstape\ - :lszdev\ :lszfcp\ :lszfcp -D\ :lszfcp -V\ @@ -466,8 +473,6 @@ CMDS="${CMDS}\ :multipath -d\ :multipath -t\ :pvpath -qa\ - :find /dev -print0 | sort -z | xargs -0 -n 10 ls -ld\ - :smc_dbg\ :lvdisplay\ :ziorep_config -ADM\ "