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 22.1.1.21.0

To get help for ttAdmin:

% ttAdmin -help
Usage:
 ttAdmin [-h | -help | -?]
 ttAdmin [-V | -version]
 ttAdmin [-ramUnload | -ramLoad [-open | -close]]
         [-ramPolicy {always | manual | enduring | inUse [-ramGrace secs]}]
         [-autoreload | -noautoreload]
         [-shmAttach | -shmDetach [-ckpt | -noCkpt] | -shmFree]
    
         [-disconnect urgency [granularity]] {-connStr connection_string | DSN}] 
          urgency: {-transactional | -immediate | -abort}
          granularity: [-users | -unload]

         -clientExportAll {FILE}{-connStr connection_string | DSN}  
         -certificateList [-json]

         [-repPolicy {always | manual | norestart}]
         [-repStart | -repStop]
         [-repQueryThresholdSet secs]
         [-repQueryThresholdGet]  
           [-cacheUidGet]  
           [-cacheUidPwdSet -cacheUid uid [-cachePwd pwd]]  
           [-cachePolicy {always | manual | norestart}
           [-cacheStart] 
           [-cacheStop [-stopTimeout secs]]
           {-connStr connection_string | DSN}

         [-query]
         {DSN | [-connstr] connStr} 

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