Skip to content
bobs edited this page Mar 23, 2016 · 3 revisions

tnscmd module

This module can be used to communicate directly with the Oracle's TNS listener.

  • If you would like to know alias defined on the listener, you could use this following command:
./odat.py tnscmd -s $SERVER -p $PORT --ping
  • To know the remote database version, the following command can be used:
./odat.py tnscmd -s $SERVER -p $PORT --version
  • To know the remote database status, the following command can be used:
./odat.py tnscmd -s $SERVER -p $PORT --status
Clone this wiki locally