-check_db_open
Checks whether the database system has already been started. You can display the return code by using the command for checking the final state of the last command performed (for example echo $status for the C shell).