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