Brick: How to trace CAPI events
From Seon
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