From f0f338d9a41b83f6ac7a1ae3c35b206be97aa3ac Mon Sep 17 00:00:00 2001 From: Yacine31 Date: Fri, 2 Feb 2024 00:10:56 +0100 Subject: [PATCH] Update 09_os_info.sh --- sh/09_os_info.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh/09_os_info.sh b/sh/09_os_info.sh index 1966ac8..8045c11 100644 --- a/sh/09_os_info.sh +++ b/sh/09_os_info.sh @@ -15,7 +15,7 @@ echo "

Statut des listeners :

" ps -ef | grep tnslsnr| grep -v grep | while read l do # Récupérer le chemin du binaire tnslsnr à partir de la sortie de ps - binary_path=$(echo $l | awk '{print $8}') + binary_path=$(echo $l | awk '{print $8}' | sed 's/tnslsnr/lsnrctl/') # Extraire le nom du listener listener_name=$(echo $l | awk '{print $9}') # Construire la commande lsnrctl status