dbginfo.sh: update the order of collection steps

We found situations, where the debug commands from dbginfo.sh
did overwrite some debug files (e.g. OSA s390dbf) - so we change
the collection order

Signed-off-by: Joern Siglen <siglen@de.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Joern Siglen
2021-09-01 16:02:09 +02:00
committed by Jan Höppner
parent 957e612720
commit 38343be0fa
2 changed files with 11 additions and 10 deletions

View File

@@ -251,13 +251,14 @@ readonly OUTPUT_FILE_OSAOAT="${WORKPATH}network"
readonly OUTPUT_FILE_SYSFS="${WORKPATH}sysfs"
# define order of collection steps
# - state/debug files are collected first, to avoid overwriting by command execution
ALL_STEPS="\
collect_sysfs\
collect_procfs\
collect_configfiles\
collect_cmdsout\
collect_hyptop\
collect_vmcmdsout\
collect_procfs\
collect_sysfs\
collect_configfiles\
collect_network\
collect_osaoat\
collect_ethtool\

View File

@@ -1,4 +1,4 @@
.TH DBGINFO.SH 1 "April 2021" "s390-tools"
.TH DBGINFO.SH 1 "September 2021" "s390-tools"
.SH NAME
dbginfo.sh \- collect runtime, configuration and trace information
@@ -71,17 +71,17 @@ OS version / distro = Red Hat Enterprise Linux 8.4 (Ootpa)
.br
Date and time of info = 2021-08-26-15-27-58
.PP
1 of 18: Collecting command output
1 of 18: Collecting sysfs
.PP
2 of 18: Collecting hyptop for z/VM - 5s output
2 of 18: Collecting procfs
.PP
3 of 18: Collecting z/VM output
3 of 18: Collecting config files
.PP
4 of 18: Collecting procfs
4 of 18: Collecting command output
.PP
5 of 18: Collecting sysfs
5 of 18: Collecting hyptop for z/VM - 5s output
.PP
6 of 18: Collecting config files
6 of 18: Collecting z/VM output
.PP
7 of 18: Collecting network output
.PP