From 0f7a788c6be6f0d78dc5947a68ff951caa370303 Mon Sep 17 00:00:00 2001 From: Yacine31 Date: Tue, 18 Jun 2024 01:52:07 +0200 Subject: [PATCH] Update 09_os_info.sh --- sh/09_os_info.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sh/09_os_info.sh b/sh/09_os_info.sh index 7462553..3576152 100644 --- a/sh/09_os_info.sh +++ b/sh/09_os_info.sh @@ -11,9 +11,9 @@ echo "
"
 ps -ef | grep tnslsnr | grep -v grep 
 echo "
" -echo "

Statut du listener ${ORACLE_SID} :

" +echo "

Statut du listener :

" # ps -ef | grep tnslsnr | egrep -i "LISTENER_${ORACLE_SID}" | grep -v grep | while read l -ps -ef | grep tnslsnr | egrep -i "${ORACLE_SID}" | grep -v grep | while read l +ps -ef | grep tnslsnr | egrep -i " LISTENER |${ORACLE_SID}" | grep -v grep | while read l do # Récupérer le chemin ORACLE_HOME à partir de la sortie de ps -ef # ---- La commande grep -o ne fonctionne pas sur AIX, on la remplace par perl -lne