14.7. How to check the print spooler

There are various commands to check a print spooler. This section covers the lpstat command and some of the flags you can use. The enq command has a similar function.

In Table 14-4 are some of the flags used by the lpstat command and, where available, an equivalent enq command.

Table 14-4. Flags for the lpstat command and enq command equivalents
Flagenq EquivalentDescription
-aListenq -q -P Queue1Provides status and job information on queues.
-denq -qDisplays the status information for the system default destination for the lp command.
-oList Displays the status of print requests or print queues.
-pList Displays the status of printers.
-renq -AProvides status and job information on queues.
-senq -ADisplays a status ...

Get IBM eServer Certification Study Guide - pSeries AIX System Administration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.