Help, Version, and Query Options

Options

ttAdmin has these options for help, version, and settings information:

Option Description

-h -help

-?

Prints usage information, syntax, and option descriptions.

-V | -version

Prints the TimesTen release number of ttAdmin and exits.

-query

Displays a summary of the policy settings for the specified database.

-connStr connection_string

For -query, an ODBC connection string that specifies a database location, driver, and optionally other connection attribute settings.

DSN

For -query, an ODBC data source name of the database to be administered.

Examples

To get the version of ttAdmin:

% ttAdmin -version
TimesTen Release 26.1.1.1.0

To get help for ttAdmin:

% ttAdmin -help
Usage:
  ttAdmin [-h | -help | -?]
  ttAdmin [-V | -version]
  ttAdmin [-ramUnload]
          [-shmAttach]
          [-shmFree]
          [-shmDetach [-ckpt | -nockpt]]
          [-ramLoad] [-open | -close]
          [-ramPolicy always | manual | enduring | inUse [-ramGrace seconds]]
          [-autoreload | -noautoreload]
          [-certificateList [-json]]
          [-clientExportAll {file}]
          [-disconnect { -transactional | -immediate | -abort }
            [-users | -unload]
          ]
          [-repPolicy always | manual | norestart]
          [-repStart | -repStop]
          [-repQueryThresholdSet seconds]
          [-repQueryThresholdGet]
          [
            [-cacheUidGet] |
            [-cacheUidPwdSet -cacheUid UID [-cachePwd password]] |
            [-cachePolicy always | manual | norestart] |
            [-cacheStart] |
            [-cacheStop [-stopTimeout seconds]]
          ]
          [-reKey [-encrAlg algorithm]]
          [-query]
          {DSN | [-connstr] connection_string}

options:
[...Options descriptions not shown...]