lsallq Command

Purpose

Lists the names of all configured queues.

Syntax

lsallq [ -c]

Description

The lsallq command lists the names of all configured queues contained in the /etc/qconfig file. By specifying the -c flag, this listing is displayed in colon format. This flag is used mainly by SMIT.

You can use the Printer Queues application in Web-based System Manager (wsm) to change print queue characteristics. You could 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 and Trusted AIX 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 AIX® Version 7.1 Security. For a list of privileges and the authorizations associated with this command, see the lssecattr command or the getcmdattr subcommand.

Examples

  1. To list all of the queue names in the /etc/qconfig file, enter:
    lsallq
    A listing similar to the following is displayed:
    lp0
    lp1
    lp2
  2. To list all configured queues in colon format, enter:

    lsallq  -c

    A listing similar to the following is displayed:
    lp0
    lp0:queue1
    lp0:queue2
    lp1

Files

Item Description
/usr/bin/lsallq Contains the lsallq command.
/etc/qconfig Configuration file.