From b6687925cc66876eb22a7b137ad896a0015c9693 Mon Sep 17 00:00:00 2001 From: Joern Siglen Date: Fri, 26 Aug 2022 14:34:17 +0200 Subject: [PATCH] dbginfo.sh: cleanup outdated comment and formating MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit remove spaces and outdated comment line Signed-off-by: Joern Siglen Signed-off-by: Jan Höppner --- scripts/dbginfo.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/dbginfo.sh b/scripts/dbginfo.sh index bc6f1466..7465eb90 100755 --- a/scripts/dbginfo.sh +++ b/scripts/dbginfo.sh @@ -43,13 +43,12 @@ readonly PROCESSORVERSION="$(grep -E ".*processor 0:.*" /proc/cpuinfo | \ sed 's/.*version[[:space:]]*\=[[:space:]]*\([[:alnum:]]*\).*/\1/g')" if test "x${PROCESSORVERSION}" = "xFF" || test "x${PROCESSORVERSION}" = "xff"; then RUNTIME_ENVIRONMENT=$(grep -E "VM00.*Control Program.*" /proc/sysinfo | \ - sed 's/.*:[[:space:]]*\([[:graph:]]*\).*/\1/g') + sed 's/.*:[[:space:]]*\([[:graph:]]*\).*/\1/g') else RUNTIME_ENVIRONMENT="LPAR" fi readonly SYSTEMHOSTNAME="$(hostname -s 2>/dev/null)" # hostname of system being analysed readonly TERMINAL="$(tty 2>/dev/null)" -# The processor version for the first processor and resulting vitrtualization RUNTIME readonly TOS=15 # timeout seconds for command execution readonly ZDEV_CONF=$(lszdev --configured 2>/dev/null | wc -l) readonly ZDEV_OFF=$(lszdev --offline 2>/dev/null | wc -l)