onstat -c command: Print ONCONFIG file contents

Use the onstat -c command to display the contents of the ONCONFIG file.

Read syntax diagramSkip visual syntax diagram
Syntax:

>>-onstat-- -c-------------------------------------------------><

The database server first checks if you have assigned a value to the environment variable ONCONFIG. You can use the onstat -c option with the database server in any mode, including offline.

UNIX Only:

On UNIX, if you have set ONCONFIG, onstat -c displays the contents of the $INFORMIXDIR/etc/$ONCONFIG file. If not, by default, onstat -c displays the contents of $INFORMIXDIR/etc/onconfig.

Windows Only:

On Windows, if you have set ONCONFIG, onstat -c displays the contents of the %INFORMIXDIR%\etc\%ONCONFIG% file. If not, by default, onstat -c displays the contents of %INFORMIXDIR%\etc\onconfig.