Michael A. Georgiou
マイケル
Technical articles for oracle database
Search This Blog
Monday, June 23, 2008
Check if database is up ( ksh script)
#!/bin/ksh
if ps -aef | grep pmon | grep rdev > /dev/null ; then
print "Database is Up."
else
print "Database is down."
exit 1
fi
Newer Post
Older Post
Home