lsallqdev Command

Purpose

Lists all configured printer and plotter queue device names within a specified queue.

Syntax

lsallqdev [ -c] -qName

Description

The lsallqdev command lists all configured device names within a specified queue in the /etc/qconfig file.

You can also use the System Management Interface Tool (SMIT) smit lsallqdev fast path to run this command.

Flags

Item Description
-q Name Specifies the queue name.
-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 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 the names all of the configured queue devices within the lp0 queue in the /etc/qconfig file, enter:
    lsallqdev  -q lp0
    A listing similar to the following is displayed:
    lpd0
    lpd1
    lpd2
  2. To list the names of all of the configured queue device within the lp0 queue in the /etc/qconfig file in colon format, enter:
    lsallqdev  -q lp0  -c
    A listing similar to the following is displayed:
    lp0:lpd1
    lp0:lpd2

Files

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