lsque Command

Purpose

Displays the queue stanza name.

Syntax

lsque [ -c ] -qName

Description

The lsque command uses the printf subroutine to display the name of the queue stanza and associated attributes from the /etc/qconfig file.

Flags

Item Description
-c Causes colon output format for use by SMIT.
-q Name Specifies the Name of the queue stanza that is sent to standard output.

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 display the name of queue stanza lp0, enter:

    lsque  -qlp0

    A list similar to the following is displayed:
    lp0:
       device = lpd0
       host = neptune
       rq = nlp0
  2. To display the name of queue stanza lp0 in colon format, enter:

    lsque  -c  -q lp0

    A list similar to the following 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.