mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
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:
@@ -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\
|
||||
|
||||
Reference in New Issue
Block a user