X25AM Configuration and Management Manual

SCF Commands for the X25AM Subsystem
X25AM Configuration and Management Manual523424-004
4-35
STATS Command
STATS Command
The STATS command displays statistical information on the execution history of lines
and subdevices. It shows dynamic information such as the number of packets sent and
received and the number of errors. This is a nonsensitive command.
Command Syntax for the STATS Command
Syntax:
OUT file-spec
causes any SCF output generated for this command to be directed to the specified
file.
LINE line-name | SU su-name
designates the line or subdevice whose statistical information you wish to display. If
you omit the line-name or su-name, the statistics for the assumed objects are
displayed (for information about the ASSUME command, see the SCF Reference
Manual for G-Series RVUs or SCF Reference Manual for H-Series RVUs).
RESET
if present, restores all the statistics counters to their initial values after the statistics
are displayed.
RESET is a sensitive option. That is, it can be specified in a STATS command only
by a user with super-group access, the owner of a subsystem, or a member of the
same group as the owner of the subsystem.
The owner of the subsystem is the user who started that subsystem or any user
whose application ID is the same as the server ID (this identical ID is the result of a
PROGID option that requires super-group access).
SUB [ subtype ]
selects the subordinate objects that the command affects. subtype can be a
subordinate object type or one of the keywords ONLY or ALL.
If you name a subordinate object type, only objects of that type are affected. ONLY
specifies that only the subordinate objects are affected.
Note. To issue the STATS command, first you need the name of the line or subdevice. To find
the names of your X25AM lines, enter LISTDEV TYPE 61 at the SCF prompt. TYPE 61 refers
to the X25AM subsystem. The X25AM lines are listed in the “Names” column. To get the
names of the subdevices, enter NAMES LINE $line-name, SUB.
STATS [ / OUT file-spec / ] [ LINE line-name | SU su-name ]
[ , RESET ] [ , SUB [ subtype ] ]