Skip to content

Commit

Permalink
show current SID
Browse files Browse the repository at this point in the history
  • Loading branch information
jkstill committed Jul 21, 2016
1 parent a5aef6b commit cdc01e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mem_verify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit cdc01e8

Please sign in to comment.