onstat -g dis command: Print database server information
Use the onstat -g dis command to display a list of database servers, the status of each server, and information about each server, including the location of the ONEDB_HOME directory, sqlhosts file, and ONCONFIG file. You can use this command in any database server mode, including offline.
Example output
Output description
- Server
- Server name
- Server Number
- Number of the server.
- Server Type
- Type of server
- Server Status
- Up means that the server is online, Down means that the server is offline
- Server Version
- Version of the server
- Shared Memory
- Location of the shared memory address
- ONEDB_HOME
- Location of the $ONEDB_HOME/ directory on UNIX™ and in the %ONEDB_HOME%\ directory on Windows™.
- ONCONFIG
- Location of the ONCONFIG file
- SQLHOSTS
- Location of the sqlhosts file
- Host
- Host name of the server