ttVersion

The ttVersion utility lists the TimesTen release information, including: number, platform, instance name, instance administrator, instance home directory, daemon home directory, port number and build timestamp. You can specify various levels of output:
  • You can specify ttVersion with no options to list abbreviated output.

  • You can specify the -m option to list enhanced output.

  • You can specify an attribute to list output only for a specific attribute.

Required Privilege

This utility requires no privileges.

Usage in TimesTen Scaleout and TimesTen Classic

This utility is supported in both TimesTen Classic and TimesTen Scaleout.

Syntax

ttVersion [-m] [attribute] [...]

Options

ttVersion has the options:

Option Description

-m

Generates computer-readable enhanced output. If not specified and no attribute is specified, abbreviated information is output.

attribute

Generates information only about the specified attribute. You can specify multiple attributes. When you specify more than one attribute, the output is displayed with an equal sign after the attribute name.

Attributes

ttVersion has these attributes:

Attribute Description

patched

Lists yes or no, indicating whether the release has been patched.

config_found

Lists yes or no, indicating whether the configuration file is found.

product

Lists the name of the product.

major1

The first part of the five-part release number (22 for release 22.1.1.21.0), indicating the last two digits of the year of the major release.

A change in major1 indicates major infrastructure and functionality changes.

major2

The second part of the five-part release number (1 for release 22.1.1.21.0).

A change in only major2 indicates a version with new functionality and possibly some infrastructure changes.

Releases with the same major1.major2 are patch-compatible. Data can be unloaded from a database from one release and loaded into a database from the other without the migration process.

patchset

The third part of the five-part release number (1 for release 22.1.1.21.0).

A change in only patchset indicates a release that contains bug fixes and possibly some feature enhancements.

patch

The fourth part of the five-part release number (9 for release 22.1.1.21.0).

A change in only patch indicates a release with only critical bug fixes.

reserved

The fifth part of the five-part release number (0 for release 22.1.1.21.0). Reserved for future use.

major3

No longer needed, but maintained for backward compatibility. Same as patchset.

portpatch

No longer needed, but maintained for backward compatibility. Same as reserved.

version

All five parts of the release number, separated by periods (such as 22.1.1.21.0).

shortversion

The first two parts of the five-part release number, without periods (221 for release 22.1.1.21.0).

numversion

All five parts of the release number, without periods, in the format %02d%02d%04d%02d%02d, compatible with ODBC version number format (220100012100 for release 22.1.1.21.0).

bits

Lists 64 to indicate the 64-bit-level of the operating system for which this release is intended.

os

The operating system for which this release is intended

buildstamp

A number indicating the specific build.

buildtime

The UTC time the release was built, for example: 2013-03-19T17:21:59Z

clientonly

Lists yes or no to indicate if the release is a client-only release

instance

The name of the instance, for example: tt2211.

effective_port

The number of the port on which the main daemon listens.

orig_port

The original number of the port on which the main daemon listened.

instance_admin

The user name of the instance administrator.

effective_insthome

The path that indicates the location of the instance.

orig_insthome

The path that indicates the location of the instance.

effective_daemonhome

The path to the home of the daemon for the specific instance.

effective_daemonhome_long

On Windows, the path to the home of the daemon for the specific instance, including a bit extension on the instance name.

orig_daemonhome

The path to the original home of the daemon.

plsql

Indicates if PL/SQL is configured for this instance. 0 indicates that PL/SQL is not configured. 1 indicates that PL/SQL is configured. The value corresponds with the setting of the PLSQL connection attribute.

grid

Indicates if the instance is configured for grid distribution.

group_name

The name of the instance group.

Output

The following is the ttVersion output without the -m option:

TimesTen Release 22.1.1.21.0 (64 bit Linux/x86_64) (grid1_mgmt:6624) 2022-01-15T06:25:33Z
  Instance admin: ttinstanceadmin
  Instance home directory: /sw/ttinstances/grid1_mgmt
  Group owner: timesten
  Daemon home directory: /sw/ttinstances/grid1_mgmt/info
  PL/SQL enabled.

And with the -m option:

patched=yes
config_found=yes
product=TimesTen
major1=22
major2=1
patchset=1
patch=3
reserved=0
major3=1
portpatch=0
version=22.1.1.21.0
shortversion=221
numversion=220100012100
bits=64
os=Linux/x86_64
buildtstamp=1547533533
buildtime=2022-01-15T06:25:33Z
clientonly=no
instance=grid1_mgmt
effective_port=6624
orig_port=6624
instance_admin=ttinstanceadmin
effective_insthome=/sw/ttinstances/grid1_mgmt
orig_insthome=/sw/ttinstances/grid1_mgmt
effective_daemonhome=/sw/ttinstances/grid1_mgmt/info
orig_daemonhome=/sw/ttinstances/grid1_mgmt/info
plsql=1
grid=0
group_name=timesten