diff --git a/sh/09_os_info.sh b/sh/09_os_info.sh index fa54c76..27696d1 100644 --- a/sh/09_os_info.sh +++ b/sh/09_os_info.sh @@ -8,11 +8,11 @@ echo "" echo "

Listeners en cours d'exécution :

" echo "
"
-ps -ef | grep tnslsnr| grep -v grep 
+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 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