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.
Flag | enq Equivalent | Description |
---|---|---|
-aList | enq -q -P Queue1 | Provides status and job information on queues. |
-d | enq -q | Displays 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. | |
-r | enq -A | Provides status and job information on queues. |
-s | enq -A | Displays 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.