I like to moitor the database server from application server.I like to check tha particular server fo this DataBaseis up and runnig. I could do it in Java( JDBC program). But the difficulty is when i am spreading this program across all servers, i need to modify the entries in the java program accoring to that servers.Each time i have to compile the java program to work. So i am looking for sheel scripting. Is it possible to monitor the DB from Shell scripting.
Please help me regarding this.