Toolpack Debug Application:Tb640debug

From TBwiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "Tb640debug is a debug tool which takes snapshot of the whole system. It generates system dump files (.dmp). These files contains information about the configuration and status...")
 
(Updated page)
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
Tb640debug is a debug tool which takes snapshot of the whole system. It generates system dump files (.dmp). These files contains information about the configuration and status of the Toolpack system as well as the TMedia units within the whole system.
+
tb640debug is a debug tool which takes snapshot of the whole system. It generates system dump files (.dmp). These files contains information about the configuration and status of the Toolpack system as well as the TMedia units within the whole system.
  
 
<br>
 
<br>
Line 9: Line 9:
 
Example:  
 
Example:  
  
Version 2.6.52, TMG unit (PPC 32bits)
+
Version 2.9.29, CentOS 64 bits system
  
  /lib/tb/toolpack/pkg/2.6.52/bin/release/ppc-linux/tb640debug
+
  /lib/tb/toolpack/pkg/2.9.29/bin/release/x86_64-linux64/tb640debug
 
+
Version 2.6.52, CentOS 64 bits system
+
 
+
/lib/tb/toolpack/pkg/2.6.52/bin/release/x86_64-linux64/tb640debug
+
 
+
Version 2.6.52, Windows system
+
 
+
C:\TelcoBridges\toolpack\pkg\2.6.52\bin\release\i586-win32\tb640debug.exe
+
 
+
<br>
+
  
 
== How to use it  ==
 
== How to use it  ==
  
Run the executable for once and then type "-1" at the prompt.
+
Run the executable with the -ALL option
 
+
  tb640debug -ALL
==== Examples ====
+
 
+
This will take a snapshot for the system at system ID = 12358.
+
 
+
  tb640debug -gw 12358
+
 
+
==== Output ====
+
 
+
Detecting available adapters / hosts on TBX_GW_PORT=12358...
+
....................
+
List of available adapters on GW Port 12358:
+
    0 - TB004386 (name TB004386), 0x2063301, IPs 192.168.1.210 / 192.168.1.212
+
List of available Stream Servers on GW Port 12358:
+
    1 - 160.tb.stream_server, 0x2063301, IPs 192.168.1.160 / 192.168.1.160
+
List of available Ha Managers on GW Port 12358:
+
    2 - 160.tb.toolpack_sys_mgr, 0x2063301, IPs 192.168.1.160 / 192.168.1.160
+
List of available Ha Callctrl on GW Port 12358:
+
    3 - SIP 160.tb.SIP_CTRL_SIP_SAP (on 160.tb.toolpack_engine), 0x2063301, IPs 192.168.1.160 / 192.168.1.160
+
    4 - SS7 160.tb.ISUP_CTRL_ISUP_S (on 160.tb.toolpack_engine), 0x2063301, IPs 192.168.1.160 / 192.168.1.160
+
Select adapter/host (-1 for 'all'): -1
+
....
+
....
+
Process completed
+
[root@160 x86_64-linux64]#
+
 
+
<br>
+
  
 
== Download resulting capture ==
 
== Download resulting capture ==
Once the ''tb640debug'' application has finished the acquisition, it will generate a number of files with .dmp extension.
+
Once the ''tb640debug'' application has finished the acquisition, it will generate a number of files with .dmp extension.<br>
You can download these files from
+
You can download these files from the directory where the tool was lauched.
/lib/tb/toolpack/pkg/2.6.51/bin/release/x86_64-linux64/
+
  
 
==== Examples ====
 
==== Examples ====
tb640_TB004386_2012_9_6-12h51m49.dmp
+
tb640_TB004386_2012_9_6-12h51m49.dmp
CC-160.tb.ISUP_CTRL_ISUP_S_toolpack_engine_2012_9_6-12h51m49.dmp
+
CC-160.tb.ISUP_CTRL_ISUP_S_toolpack_engine_2012_9_6-12h51m49.dmp
CC-160.tb.SIP_CTRL_SIP_SAP_toolpack_engine_2012_9_6-12h51m49.dmp
+
 
SYS-Master_160.tb_toolpack_sys_mgr_2012_9_6-12h51m49.dmp
+
=== Other options available ===
 +
tb640debug -help
 +
Usage: tb640debug [-h] [-append] [-all] [-ALL] [-gw port]
 +
      -h:      Skip querying host information
 +
      -append:  Don't add date to dump file name, and append to end of previous file name
 +
      -all:    Automatically print (don't prompt) info for all adapter/applications, one at the time
 +
      -ALL:    Automatically print (don't prompt) info for all adapter/applications, at the same time
 +
      -gw:      Use this port instead of the TBX_GW_PORT environment variable
 +
      -adapter: Automatically print (don't prompt) info for specified adapter

Latest revision as of 14:37, 11 August 2016

tb640debug is a debug tool which takes snapshot of the whole system. It generates system dump files (.dmp). These files contains information about the configuration and status of the Toolpack system as well as the TMedia units within the whole system.


Contents


Application Location

The binary is located in the [InstallDir]/[PackageVersion]/bin/release/[Platform]/

Example:

Version 2.9.29, CentOS 64 bits system

/lib/tb/toolpack/pkg/2.9.29/bin/release/x86_64-linux64/tb640debug

How to use it

Run the executable with the -ALL option

tb640debug -ALL

Download resulting capture

Once the tb640debug application has finished the acquisition, it will generate a number of files with .dmp extension.
You can download these files from the directory where the tool was lauched.

Examples

tb640_TB004386_2012_9_6-12h51m49.dmp
CC-160.tb.ISUP_CTRL_ISUP_S_toolpack_engine_2012_9_6-12h51m49.dmp

Other options available

tb640debug -help
Usage: tb640debug [-h] [-append] [-all] [-ALL] [-gw port]
     -h:       Skip querying host information
     -append:  Don't add date to dump file name, and append to end of previous file name
     -all:     Automatically print (don't prompt) info for all adapter/applications, one at the time
     -ALL:     Automatically print (don't prompt) info for all adapter/applications, at the same time
     -gw:      Use this port instead of the TBX_GW_PORT environment variable
     -adapter: Automatically print (don't prompt) info for specified adapter
Personal tools