Toolpack Debug Application:Tb640debug
From TBwiki
Revision as of 00:01, 6 September 2012 by Candy Chan (Talk | contribs)
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.6.52, TMG unit (PPC 32bits)
/lib/tb/toolpack/pkg/2.6.52/bin/release/ppc-linux/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
How to use it
Run the executable for once and then type "-1" at the prompt.
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]#
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
/lib/tb/toolpack/pkg/2.6.51/bin/release/x86_64-linux64/
Examples
tb640_TB004386_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