To configure queues from the command line, type the following command with the appropriate options:
# qconf options |
The qconf command has the following options:
The -aq option (add cluster queue) displays an editor containing a template for cluster queue configuration. The editor is either the default vi editor or an editor defined by the EDITOR environment variable. If cluster-queue is specified, the configuration of this cluster queue is used as template. Configure the cluster queue by changing the template and then saving it. See the queue_conf(5) man page for a detailed description of the template entries to change.
The -Aq option (add cluster queue from file) uses the file filename to define a cluster queue. The definition file might have been produced by the qconf -sq queue command.
The -cq option (clean queue) cleans the status of the specified cluster queues, queue domains, or queue instances to be idle and free from running jobs. The status is reset without respect to the current status. This option is useful for eliminating error conditions, but you should not use it in normal operation mode.
The -dq option (delete cluster queue) deletes the cluster queues specified in the argument list from the list of available queues.
The -mq option (modify cluster queue) modifies the specified cluster queue. The -mq option displays an editor containing the configuration of the cluster queue to be changed. The editor is either the default vi editor or an editor defined by the EDITOR environment variable. Modify the cluster queue by changing the configuration and then saving your changes.
The -Mq option (modify cluster queue from file) uses the file filename to define the modified cluster queue configuration. The definition file might have been produced by the qconf -sq queue command and subsequent modification.
The -sq option (show queue) without arguments displays the default template cluster queue, queue domain, or queue instance configuration. The -sq option with arguments displays the current configuration of the specified queues.
The -sql option (show cluster queue list) displays a list of all currently configured cluster queues.
The qconf command provides the following set of options that you can use to change specific queue attributes:
-aattr – Add attributes |
-Aattr – Add attributes from a file |
-dattr – Delete attributes |
-Dattr – Delete attributes listed in a file |
-mattr – Modify attributes |
-Mattr – Modify attributes from a file |
-rattr – Replace attributes |
-Rattr – Replace attributes from a file |
-sobjl – Show list of configuration objects |
For a description of how to use these options and for some examples of their use, see Using Files to Modify Queues, Hosts, and Environments. For detailed information about these options, see the qconf(1) man page.