From b3270d5e081185eeb815e79621dbce75db9507f5 Mon Sep 17 00:00:00 2001 From: Yacine31 Date: Tue, 18 Jun 2024 01:28:59 +0200 Subject: [PATCH] Update 09_os_info.sh --- sh/09_os_info.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sh/09_os_info.sh b/sh/09_os_info.sh index 27696d1..e84950d 100644 --- a/sh/09_os_info.sh +++ b/sh/09_os_info.sh @@ -12,7 +12,8 @@ ps -ef | grep tnslsnr | grep -v grep echo "" echo "

Statut des listeners :

" -ps -ef | grep tnslsnr | egrep -i "LISTENER_${ORACLE_SID}" | grep -v grep | while read l +# 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 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