HP Distributed Print Service Administration Guide
Chapter 9 255
Managing Spoolers, Queues, and Logical Printers
Querying for Spooler Information
Querying for Spooler Information
This section describes how to query the values of attributes that reflect
the state of the spooler and the associations between the spooler and
other HPDPS objects.
Querying for the State of a Specific Spooler
Use -c server with the pdls command to query the state of a spooler.
The value of the non-settable server-state spooler attribute indicates
the state of the spooler. You can query the state of a spooler if you receive
a notification message about a problem in the spooler or a message that
indicates the spooler has started to terminate. You might want to query
the status of spoolers once or twice during the day to ensure that the
processes are running without problems.
To query the state of the spooler Spool1, enter:
pdls -c server Spool1:
HPDPS displays information similar to the following:
Server State Type
------ ----- ----
Spool1 ready spooler
NOTE If the spooler is not running, HPDPS issues a message that it cannot
communicate with the server. See “Restarting the Spooler after It Has
Been Shut Down” later.
The server-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 server -r brief Spool1
Spooler States
The possible states of the spooler are: