DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

xtt(ADM)


xtt -- extract and print xt driver packet traces

Syntax

xtt [ -f ] [ -o ]

Description

The xtt command is a debugging tool for the xt(HW) driver. It performs an XTIOCTRACE ioctl(S) call on its standard input file to turn on tracing and extract the circular packet trace buffer for the attached group of channels. This call will fail if tracing has not been configured in the driver, or the standard input is not attached to an xt channel. The packets are printed on the standard output.

The optional flags are:


-f
Causes a ``formfeed'' character to be put out at the end of the output for the benefit of page-display programs.

-o
Turns off further driver tracing.

Exit values

Returns 0 upon successful completion; 1 otherwise.

Limitations

If driver tracing has not been turned on for the terminal session by invoking layers(C) with the -t option, xtt will not generate any output the first time it is executed.

See also

ioctl(S), layers(C), layers(M), xt(HW), xtd(ADM), xts(ADM)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003