Accessing and Using Diagnostics Commands

You can access the diagnostics commands using the TIBCO host shell command.

Procedure

  1. View the list of diagnostics commands by entering the following in the command window: CONFIG_HOME\tibcohost\Admin-enterpriseName-adminServerName\host\bin\tibcohost.exe help.
    Under the Diagnostics Commands heading, the following commands are available:
    • describeApplications
    • describeComponents
    • describeDeployedResourcePools
    • getLogFiles
    • getMemoryUsage
    • getThreadDump
  2. To view the description and arguments for each of the above command, enter the following command: CONFIG_HOME\tibcohost\Admin-enterpriseName-adminServerName\host\bin\tibcohost.exe help command The following example shows how to retrieve memory usage for a node.

Memory Usage

The following examples show how to retrieve memory usage for a node. If a node name is not specified, the command displays host memory usage.

C:\AMX\tibcohost\Admin-amxadmin-instanceOne\host\bin\tibcohost.exe getMemoryUsage -nodeName DevNode
Invoking getMemoryUsage
  -nodeName DevNode

Heap memory usage for node "DevNode" follows:
     Initial size: 128MB
     Maximum size: 494.9MB
     Committed size: 162.6MB
Non-heap memory usage for node "DevNode" follows:
     Initial size: 23.2MB
     Maximum size: 240MB
     Committed size: 77.6MB
     Amount used: 77.4MB