dbginfo: Redirect output of lsof to a separate file open_files.out

The output of lsof command is sometimes too long and makes it difficult
to search in runtime.out. Move the output to a separate file.

Signed-off-by: Sa Liu <saliu@de.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Sa Liu
2019-02-11 13:57:44 +01:00
committed by Jan Höppner
parent 79bfa818ed
commit bbd88f26c9

View File

@@ -167,6 +167,9 @@ readonly OUTPUT_FILE_VMCMD="${WORKPATH}zvm_runtime.out"
# File that includes content of files from sysfs
readonly OUTPUT_FILE_SYSFS="${WORKPATH}sysfsfiles.out"
# File that includes the output of lsof
readonly OUTPUT_FILE_LSOF="${WORKPATH}open_files.out"
# File that includes content of OSA OAT
readonly OUTPUT_FILE_OSAOAT="${WORKPATH}osa_oat"
@@ -442,7 +445,8 @@ CMDS="uname -a\
:SPident\
:rpm -qa | sort\
:sysctl -a\
:lsof\
:lsof \
> '${OUTPUT_FILE_LSOF}'\
:mount\
:df -h\
:df -i\