Difference between revisions of "Brick: How to trace CAPI events"
From Seon
(New page: == Package download == Download the latest Bricktools package from [ftp://ftp.funkwerk-ec.com/bintec/unixtool/] for your platform (i.e. [ftp://ftp.funkwerk-ec.com/bintec/unixtool/bricktool...) |
(No difference)
|
Revision as of 09:13, 6 May 2011
Package download
Download the latest Bricktools package from [1] for your platform (i.e. [2] for latest Linux support).
Configure environment
The tool needed for capi traces expects at least the variable
CAPI_HOST
to be set to a resolvable hostname or IP address to your brick.
Example:
export CAPI_HOST=brick-xm
The optional environment variable
CAPI_PORT
can be set to the corresponding CAPI port of your configured brick (if port 2662 is not your default).
Start trace
The output of "capitrace
" can be very excessive, so your best option would be to redirect the output to a logfile for better analysis:
./capitrace > /tmp/capi.log