![](/images/new-backgrounds/1308428/3084281075x1.webp)
Administration Commands
query_statistics
If the computer name includes a . (period) character, SNAplus2 assumes that it is a
2.169.2 Returned Parameters
Parameter name | Type | Length |
security | constant |
|
domain_name | character | 64 |
server_name | character | 128 |
If the command executes successfully, SNAplus2 returns the following parameters:
security
This parameter is reserved.
domain_name
The name of the TCP/IP domain containing the SNAplus2 domain. This name was specified during installation of the master server.
For each server, the following parameter is included:
server_name
Name of the server listed in the file.
2.169.3 Error Return Codes
If the command cannot be executed, SNAplus2 returns a primary return code to indicate the type of error and a secondary return code to provide specific details about the reason for unsuccessful execution.
Parameter Check
No parameter errors occur for this command.
State Check
If the command does not execute because of a state error, SNAplus2 returns the following parameters:
primary_rc
STATE_CHECK
secondary_rc
RECORD_NOT_FOUND
The list_options parameter was set to LIST_INCLUSIVE or LIST_FROM_NEXT to list entries starting from the supplied server name, but the server_name parameter did not match an entry in the file.
Other Conditions
Appendix A, Common Return Codes from snapadmin Commands, lists combinations of primary and secondary return codes that are common to all commands.
2.170 query_statistics
The query_statistics command returns statistics on the usage of an LS or port. The QLLC link type does not support link statistics; do not issue this command for a QLLC LS or port.
538