Ref: 21770004
Title: How to Print (Not Plot) Audit Trail Records
Date: 4/3/91

Copyright 3Com Corporation, 1991.  All rights reserved.

The showaudit utility, invoked from an NCS/AT utility prompt, will
display contents from a selected month and day.  If month and day are
not specified, showaudit will display information for the current day
from the audit.<mmdd> file, where <mmdd> is today's date.  The syntax
for the showaudit command is

   showaudit <record type> [-a <address>[!port]] [[<month>] <day>]

For more information on the printersetup utility, refer to the NCS/AT
Operations Guide, Chapter 6.  The above example shows only how to display
the contents of a selected audit trail data file to the default stdlist,
your terminal screen.  To "redirect" output to the printer requires the
use of the XENIX pipe command "|" and the NCS/AT "print" utility.  The
"print" syntax is

    print [-d<printername>] <filename>

The NCS/AT print utility makes use of the XENIX lpr command documented
in the SCO XENIX System V Operating System User's Reference under
lp and lpr(C).

Printing on the NCS/AT requires that a printer be attached and
configured via the printersetup utility to either a serial or
parallel port on the NCS/AT.  For more information on running the
printersetup utility to configure a printer, refer to your NCS/AT
Operations Guide, Chapter 6, and the NCS/AT Installation Guide, Chapter
4, "Peripheral Device Attachment."

The following example combines the showaudit utility and the print
utility to send output to the default printer on the NCS/AT:

   showaudit TOTALCD -a 129.001.001.020 18 |print

In this example, total connections for port 129.001.001.020 on the
18th of the current month are printed on the default printer.

