From 7a2a96e8a38023145bc700838ccc8fa30a6e4228 Mon Sep 17 00:00:00 2001 From: Sa Liu Date: Fri, 13 Sep 2019 14:16:33 +0200 Subject: [PATCH] dbginfo: add hyptop output for z/VM and LPAR. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sa Liu Signed-off-by: Jan Höppner --- scripts/dbginfo.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/dbginfo.sh b/scripts/dbginfo.sh index 388007bf..72f9e495 100755 --- a/scripts/dbginfo.sh +++ b/scripts/dbginfo.sh @@ -561,6 +561,11 @@ collect_cmdsout() { done IFS="${ifs_orig}" + if echo "${RUNTIME_ENVIRONMENT}" | grep -qi "z/VM" >/dev/null 2>&1; then + call_run_command "hyptop -b -d 1 -n 5 -f \#,c,m,C:s,M:s,o -S c" "${OUTPUT_FILE_CMD}" + else call_run_command "hyptop -b -d 1 -n 5 -f \#,T,c,e,m,C:s,E:s,M:s,o -S c" "${OUTPUT_FILE_CMD}" + fi + pr_log_stdout " " }