HP-UX Reference (11i v2 03/08) - 1 User Commands A-M (vol 1)
l
lpstat(1) lpstat(1)
HP-UX EXTENSIONS
DESCRIPTION
Any arguments that are not options are assumed to be request ids (as returned by
lp) or LP destinations.
lpstat prints the status of requests corresponding to such request ids or the status of requests belong-
ing to such destinations. options can appear in any order and can be repeated and intermixed with other
arguments.
-i Inhibit the reporting of remote status.
-o[ list ] Also see the
-i option.
-t Print all status information. Same as specifying
-r, -s, -a, -p, -o. See the
-i
option.
Security Restriction
Only users who have the
lp subsystem authorization or the
printqueue secondary subsystem author-
ization can view the entire queue. Unauthorized users can view only their own jobs whose sensitivity lev-
els are dominated by the user’s current sensitivity level.
The
allowmacaccess privilege allows viewing jobs at higher sensitivity levels.
EXAMPLES
Check whether your job is queued:
lpstat
Check the relative position of a queued job:
lpstat -t
Verify that the job scheduler is running:
lpstat -r
FILES
/var/spool/lp/*
/var/adm/lp/*
/etc/lp/*
/usr/lib/lp/*
SEE ALSO
enable(1), lp(1), rlpstat(1M).
STANDARDS CONFORMANCE
lpstat: SVID2, SVID3, XPG2, XPG3, XPG4
Section 1−−488 Hewlett-Packard Company − 1 − HP-UX 11i Version 2: August 2003