10.5.8. tpm query Command

The query command provides information about the current tpm installation. There are a number of subcommands to query specific information:

Returns the manifest information for the identified release of Tungsten Replicator, including the build, source and component versions, returned in the form of a JSON value:

shell> tpm query manifest
  "SVN": {
    "bristlecone": {
      "URL": "http://bristlecone.googlecode.com/svn/trunk/bristlecone",
      "revision": 170
    "commons": {
      "URL": "https://tungsten-replicator.googlecode.com/svn/trunk/commons",
      "revision": 1983
    "cookbook": {
      "URL": "https://tungsten-toolbox.googlecode.com/svn/trunk/cookbook",
      "revision": 230
    "replicator": {
      "URL": "https://tungsten-replicator.googlecode.com/svn/trunk/replicator",
      "revision": 1983
  "date": "Wed Jan  8 18:11:08 UTC 2014",
  "host": "ip-10-250-35-16",
  "hudson": {
    "SVNRevision": null,
    "URL": "http://cc.aws.continuent.com/",
    "buildId": 28,
    "buildNumber": 28,
    "buildTag": "jenkins-Base_Replicator_JUnit-28",
    "jobName": "Base_Replicator_JUnit"
  "product": "Tungsten Replicator",
  "userAccount": "jenkins",
  "version": {
    "major": 2,
    "minor": 2,
    "revision": 1

Shows the list of configuration files that have been modified since the installation was completed. Modified configuration files cannot be overwritten during an upgrade process, using this command enables you identify which files contain changes so that these modifications can be manually migrated to the new installation. To restore or replace files with their original installation, copy the .filename.orig file.

Returns the host and directory from which the current installation was created:

shell> tpm query staging

This can be useful when the installation host and directory from which the original configuration was made need to be updated or modified.

Returns the version for the identified version of Tungsten Replicator:

shell>  tpm query version