lsquedev Command

Purpose

Displays the device stanza name.

Syntax

lsquedev [ -c ] -qName -d Name

Description

The lsquedev command displays the name of the queue stanza and associated attributes from the /etc/qconfig file.

Flags

Item Description
-c Specifies colon output format for use by SMIT.
-d Name Specifies the Name variable of the device stanza that is displayed.
-q Name Specifies the Name variable of the queue containing the device stanza that is displayed.

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 that are associated with this command, see the lssecattr command or the getcmdattr subcommand.

Examples

  1. To display device stanza dlp0 on the lp0 queue, type:
    lsquedev  -q lp0  -d dlp0
    A listing similar to the following is displayed:
    dlp0:
    FILE = /dev/lp0
    BACKEND = /usr/lib/lpd/piobe
  2. To display device stanza dlp0 on the lp0 queue in colon format, type:
    lsquedev  -c  -qlp0  -d dlp0
    A listing similar to the following is displayed:
    file:access:feed:header:trailer:backend:align
    dlp0:/dev/lp0:read:never:never:never:/usr/lib/lpd/piobe:TRUE

Files

Item Description
/usr/bin/lsquedev Contains the lsquedev command.
/etc/qconfig Contains the configuration file.