NETERROR(1) Series 300 Only NETERROR(1)
NAME
neterror - control network error logging
SYNOPSIS
neterror [ -afi ] [ queue-size ]
HP-UX/COMPATIBILITY
Level: HP-UX/NON-STANDARD
Origin: HP
Remarks: Implemented on the Series 300 Only.
DESCRIPTION
Neterror controls the network error logging facility and
allows the user to access the logged network errors. The
two types of errors logged are internal network events and
errors passed from the kernel to the user program. The
events and errors are logged in a first-in-first-out (FIFO)
queue. When the queue fills up, the oldest entry is deleted
to accommodate any new entry.
When neterror is invoked with no options, all queued errors
which belong to the user are displayed. A time stamp, user
id, process id, internal network error mnemonic, the errno
value, and the errnet value are displayed.
In addition, the super-user can invoke neterror with the
following options:
-a Display the errors logged for all users.
-f Clear the contents of the error-logging queue.
-i Display the network events logged in the queue. Most
network events will only contain the internal network
error mnemonic and the location where the error
occurred (this is displayed under the errnet heading).
Some of the network events will contain an errno value
rather than an internal network error mnemonic.
The super-user can also change the number of entries allowed
in the error-logging queue by specifying a new queue-size.
Specifying a new queue-size destroys the contents of the
current error-logging queue. If neterror is unable to
obtain enough memory for the requested logging queue, an
error message is printed and the original queue remains
intact. The default queue size at network powerup is at
least ten entries.
SEE ALSO
errno(2), errnet(2).
Hewlett-Packard - 1 - (printed 7/16/86)