<< Click to Display Table of Contents >>

Shell command

OZ Java Server provides a shell command to control the server and check the operation result.

Enter it in the format of "ozcntrl command".

The command is as below:


-help

Display the shell command help.

-version

Display version information of the OZ Server and the system where the OZ Server is installed.

-testsdm -fn:SDMfilepath  -xml

Save the data contents of the SDM file as sdmtest.xml file. The SDMfilepath file path can be set to relative as well as absolute path.

-property:JavaPropertyName

Get Java property value of the system where OZ Server is installed.

-repository.getcfg

Get OZ Repository Server configuration information.

-repository.dn

Download items in OZ Repository Server.

-cache.getcfg

Get cache manager configuration information.

-cp.status

Get the database connection pool settings and current state.

-log.getcfg

Get log manager configuration information.

-log.dn

Download log files.

-log.realtime

Display logs in real time.

-mntr.dn

Download monitor log files.

-threaddump

Display thread dump.

-builtin.repair

Restore the BUILTIN type repository.

-databind.getcfg

Get the value of an option set in the databind.properties file.