lsallq Command
Purpose
Lists the names of all configured queues.
Syntax
lsallq [ -c ]
Description
By default, the lsallq command lists the names of all configured queues that are contained in the /etc/qconfig file.
If the scalability feature of the AIX printer subsystem is enabled, the
lsallq command lists all the configured queues that the
/etc/qconfig.bin file contains. For more information about the
printer_scalability
tunable parameter, see the printer_scalability
section in the Miscellaneous tunable
parameters page.
By specifying the -c flag, this list is displayed in colon format. This flag is used mainly by System Management Interface Tool (SMIT).
You can also use the System Management Interface Tool (SMIT) smit lsallq
fast
path to run this command.
Flag
Item | Description |
---|---|
-c | Causes colon format output for use by SMIT. |
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 list the queue names in the /etc/qconfig file, enter the following command:
lsallq
A list similar to the following list is displayed:lp0 lp1 lp2
-
To list all configured queues in colon format, enter the following command:
lsallq -c
A listing similar to the following list is displayed:lp0 lp0:queue1 lp0:queue2 lp1
Files
Item | Description |
---|---|
/usr/bin/lsallq | Contains the lsallq command. |
/etc/qconfig | Contains the configuration file. |