From cdc01e84c3bc7e96e1ac5112225fd6bfa902bf01 Mon Sep 17 00:00:00 2001 From: Jared Still Date: Thu, 21 Jul 2016 15:49:35 -0700 Subject: [PATCH] show current SID --- mem_verify.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mem_verify.sh b/mem_verify.sh index fafbffd..b71ac74 100755 --- a/mem_verify.sh +++ b/mem_verify.sh @@ -140,7 +140,7 @@ SGA=0 #for SID in $(grep -P '^[A-Za-z0-9]+\d*:' /etc/oratab | cut -f1 -d:) for sid in $(ps -e -ocmd | grep [r]a_pmon | sed -e 's/ora_pmon_//'| grep -v -- 'sed -e') do - #echo "Working on $SID" + echo "Working on $SID" . oraenv <<< $SID >/dev/null