lsque Command
Purpose
Displays the name of the queue stanza.
Syntax
lsque [ -c ] -q Name
Description
By default the lsque command uses the printf subroutine to display the name of the queue stanza and its associated attributes from the /etc/qconfig file.
If the scalability feature of the AIX printer subsystem is enabled, the
lsque command displays the name of the queue stanza and its associated attributes
from the /etc/qconfig.bin file. For more information about the
printer_scalability
tunable parameter, see the printer_scalability
section in the Miscellaneous tunable
parameters page.
Flags
Item | Description |
---|---|
-c | Displays the output in colon format for use by System Management Interface Tool (SMIT). |
-q Name | Specifies the Name of the queue stanza that is sent to the standard output. |
Security
Attention RBAC users: This command can
perform privileged operations. Only privileged users can run privileged operations. For more
information about authorizations and privileges, see Privileged Command Database in Security. For a list of privileges and the
authorizations that are associated with this command, see the lssecattr
command or the getcmdattr subcommand.
Examples
-
To display the name of the queue stanza
lp0
, enter the following command:lsque -q lp0
A list similar to the following list is displayed:lp0: device = lpd0 host = neptune rq = nlp0
-
To display the name of queue stanza
lp0
in colon format, enter the following command:lsque -c -q lp0
A list similar to the following list is displayed:device:discipline:up:acctfile:host:s_statfilter:l_statfilter:rq lpd0:fcfs:true:false:neptune:::nlp0
Files
Item | Description |
---|---|
/usr/bin/lsque | Contains the lsque command. |
/etc/qconfig | Contains the configuration file. |