From 81920f7cfd964f8133406848c5cee2b1d40cf7c8 Mon Sep 17 00:00:00 2001 From: Joern Siglen Date: Mon, 14 Feb 2022 11:42:23 +0100 Subject: [PATCH] dbginfo.sh: (re)group commands for network MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This change will regroup & reorder the commands executed for network. By grouping, we intend 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. "ip -br a" was added on request of SMEs during the discussions Signed-off-by: Joern Siglen Reviewed-by: Sa Liu Reviewed-by: Mario Held Acked-by: Sandy Winter Acked-by: Stefan Raspl Signed-off-by: Jan Höppner --- scripts/dbginfo.sh | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/scripts/dbginfo.sh b/scripts/dbginfo.sh index 939ac275..7a3728e8 100755 --- a/scripts/dbginfo.sh +++ b/scripts/dbginfo.sh @@ -426,7 +426,6 @@ CMDS="uname -a\ :dmsetup status\ :icainfo\ :icastats\ - :ipcs -a\ :ivp.e # IBM CCA package install check\ :java -version\ :last\ @@ -490,16 +489,19 @@ CMDS="uname -a\ " ######################################## -NETWORK_CMDS="ip a sh\ +# network comamnds for separate output file with ip -br a as header command +NETWORK_CMDS="ip -br a\ + :firewall-cmd --list-all\ + :ifconfig -a\ + :ip a sh\ + :ip -s -s link\ + :ip link show\ + :ip neigh list\ + :ip ntable\ :ip route list\ :ip route list table all\ :ip rule list\ - :ip neigh list\ - :ip link show\ - :ip ntable\ - :ip -s -s link\ - :firewall-cmd --list-all\ - :ifconfig -a\ + :ipcs -a\ :iptables -L\ :lsqeth\ :netstat -pantu\