Update 20_dbvisit_infos.sh

This commit is contained in:
Yacine31
2023-11-14 15:15:13 +01:00
parent fb3cdffedb
commit 6f5648aa1e

View File

@@ -1,6 +1,6 @@
# script à exécuter si seulement dbvctl existe et une instance avec le nom de service dbv existe aussi # script à exécuter si seulement dbvctl existe et une instance avec le nom de service dbv existe aussi
count=$(ps -ef | grep dbvctl | grep -v grep | ${ORACLE_SID} | wc -l) count=$(ps -ef | grep dbvctl | grep -v grep | grep ${ORACLE_SID} | wc -l)
if [ $count -gt 0 ]; then if [ $count -gt 0 ]; then
# dbvisit # dbvisit