select database_status from v$instance
select * from v$database

Hope this helps