lsallq 命令

用途

列示所有已配置队列的名称。

语法

lsallq[-c]

描述

lsallq 命令列示 /etc/qconfig 文件中的所有已配置队列的名称。 通过指定-c标志,列表将以冒号格式显示。 该标志主要由 SMIT 使用。

也可以使用系统管理界面工具 (SMIT) smit lsallq 快速路径来运行该命令。

标志

描述
-c 使输出为冒号格式以供 SMIT 使用。

安全性

RBAC 用户和可信AIX用户请注意:此命令可执行特权操作。 只有特权用户才能执行特权限定的操作。 有关授权和权限的更多信息,请参阅安全中的特权命令数据库。 要获取与此命令相关联的特权和权限的列表,请参阅 lssecattr 命令或 getcmdattr 子命令。

示例

  1. To list all of the queue names in the /etc/qconfig file, enter:
    lsallq
    显示类似如下的列表:
    lp0
    lp1
    lp2
  2. To list all configured queues in colon format, enter:
    lsallq  -c
    显示类似如下的列表:
    lp0
    lp0:queue1
    lp0:queue2
    lp1

文件

描述
/usr/bin/lsallq 包含 lsallq 命令。
/etc/qconfig 配置文件。