xtt(1M) UNIX System V(Layers Windowing Utilities) xtt(1M)
NAME
xtt - extract and print xt driver packet traces
SYNOPSIS
xtt [-f] [-o]
DESCRIPTION
The xtt command is a debugging tool for the xt(7) driver. It performs an
XTIOCTRACE ioctl(2) 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 the standard input is not attached to
an active xt(7) 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.
DIAGNOSTICS
Returns 0 upon successful completion, 1 otherwise.
NOTES
If driver tracing has not been turned on for the terminal session by
invoking layers(1) with the -t option, xtt will not generate any output
the first time it is executed.
SEE ALSO
layers(1) in the User's Reference Manual
xts(1M), ioctl(2), xtproto(5)
xt(7) in the Programmer's Guide: STREAMS
10/89 Page 1