HP Distributed Print Service Administration Guide

Chapter 9 259
Managing Spoolers, Queues, and Logical Printers
Querying for Queue Information
Querying for Queue Information
This section describes how to query the values of attributes that reflect
the state of the queue and the associations between the queue and other
HPDPS objects.
Querying for the Status of a Queue
You may want to query the state of the queue if there is a problem with
the queue, such as the queue being backlogged, or if jobs in the queue are
not being scheduled to the physical printer or printers associated with
the queue.
For example, to query the state of the queue Queue1, enter:
pdls -c queue Queue1
HPDPS displays information similar to the following:
Scheduler
Queue State Ready Server
------ ----- ------------- -------
Queue1 ready priority FIFO Spool1
NOTE The queue-state attribute is one of the predefined attributes of the
brief option of the -r flag for the pdls command. brief is the default
for the -r flag. Therefore, the command you entered in this example is
equivalent to entering:
pdls -c queue -r brief Queue1
Queue States
The possible states of the queue are:
State Description
ready Jobs in the queue can be scheduled to
the physical printer or printers
associated with the queue.