RTVNETSVRS RETRIEVE NET SERVER STATISTICS TAANETK |
The Retrieve NetServer Statistics command retrieves the current
statistics about the i5/OS NetServer such as the number of file opens
and the average response time. The QZLSOLST API is used.
A typical series of commands would be:
DCL &OPENS *DEC LEN(10 0)
.
RTVNETSVRS FILEOPENS(&OPENS)
RTVNETSVRS escape messages you can monitor for
----------------------------------------------
None. Escape messages from based on functions will be re-sent.
RTVNETSVRS Command parameters *CMD
-----------------------------
FILEOPENS The number of file opens. This is an optional
return variable that if used must be specified as
*DEC LEN(10 0).
PRTJQ The number of printer jobs that are queued. This is
an optional return variable that if used must be
specified as *DEC LEN(10 0).
SSNSTR The number of session starts. This is an optional
return variable that if used must be specified as
*DEC LEN(10 0).
SSNDISC The number of session disconnected. This is an
optional return variable that if used must be
specified as *DEC LEN(10 0).
SSNDISCA The number of session disconnected automatically.
This is an optional return variable that if used
must be specified as *DEC LEN(10 0).
PWDVIOL The number of password violations. This is an
optional return variable that if used must be
specified as *DEC LEN(10 0).
GUESTSPT An *OFF/*ON return variable for whether guest
support exists. This is an optional return variable
that if used must be specified as *CHAR LEN(4).
UNKUSRS The number of unknown users who have requested
sessions. This is an optional return variable that
if used must be specified as *DEC LEN(10 0).
BYTESSENT The number of bytes sent by the server. This is an
optional return variable that if used must be
specified as *CHAR LEN(20).
BYTESRCVD The number of bytes received by the server. This is
an optional return variable that if used must be
specified as *CHAR LEN(20).
AVGRSPTIME The average response time in milliseconds. This is
an optional return variable that if used must be
specified as *DEC LEN(10 0).
STARTDATE The date the server was started in CYMD format.
This is an optional return variable that if used
must be specified as *CHAR LEN(7).
STARTTIME The time the server was started in HHMMSS format.
This is an optional return variable that if used
must be specified as *CHAR LEN(6).
RESETDATE The date the server statistics were reset in CYMD
format. This is an optional return variable that if
used must be specified as *CHAR LEN(7).
RESETTIME The time the server statistics were reset in HHMMSS
format. This is an optional return variable that if
used must be specified as *CHAR LEN(6).
Restrictions
------------
Because the RTVNETSVRS command returns variables, it may only be used
in a CL type of program.
Prerequisites
-------------
The following TAA Tools must be on your system:
SNDESCINF Send escape information
SNDESCMSG Send escape message
Implementation
--------------
None, the tool is ready to use.
Objects used by the tool
------------------------
Object Type Attribute Src member Src file
------ ---- --------- ---------- ----------
RTVNETSVRS *CMD TAANETK QATTCMD
TAANETKC *PGM CLP TAANETKC QATTCL
TAANETKR *PGM RPGLE TAANETKR QATTRPG
|
Added to TAA Productivity tools July 15, 2012