Amiga Unix — 68040 · 68060

Manual pages › System administration commands (1M)

xtt(1M)

extract and print xt driver packet traces

From the original Amiga UNIX 2.1 manual. Some things it mentions may not be in this release.

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.

NOTE

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.