Viewing host driver statistics: txstats

Use txstats to view statistics maintained by the TX driver for a particular board or for all known boards. This information is used when analyzing data flow problems between the host and the TX board.

Procedure

Run txstats according to the following syntax:

txstats -b boardnum -a appchan -d drvchan -p period -m statname -x maxvalue -o options -l -z -q

where:

Argument

Description

-b boardnum

TX board number or 0 to view all board statistics.

-a appchan

CPI channel held by an application. Default is 0 (not applicable).

-d drvchan

CPI channel used to access the driver. Default is 254.

-p period

Interval (in ms) between periodic statistics requests.

-m statname

Monitors statistics in histogram format. Use –m ? to view a list of available statistics.

-x maxvalue

Maximum value for -m display range.

-o options

Specifies options directly. Refer to the txstats.h file for more information.

-l

Displays layer-specific statistics extension. Default is view common statistics.

-z

Zeros statistics after displaying current values.

-q

Does not display statistics as part of operations.