1836611 Members
3731 Online
110102 Solutions
New Discussion

who is printing??

 
Peter Gillis
Super Advisor

who is printing??

HI,
ux 11.11v1
Would anyone know of how I might findout who has been sending output to specific printers? Is there a log anywhere?
Easy points for someone ...
thanks, Maria.
5 REPLIES 5
John Poff
Honored Contributor

Re: who is printing??

Hi,

If you have 'lpsched' started with the -v option it will write a log to /var/adm/lp/log, which should help you.

JP
Sridhar Bhaskarla
Honored Contributor

Re: who is printing??

Hi Maria,

"lpstat -t" will give you the current jobs. man lpstat for more options.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Michael Tully
Honored Contributor

Re: who is printing??

Actually lpstat -t gives all information about all printing facilities, printers, jobs, status. If you just want the the current jobs, lpstat -o or lpstat -u will give you this info, including the userid sending the print job. The /var/adm/lp/log file contains all the information on past lp jobs.
Anyone for a Mutiny ?
Peter Gillis
Super Advisor

Re: who is printing??

Thanks everyone. You all helped me along the way. grep printerid /var/adm/lp/log gave me the info I was after.
Maria.
Peter Gillis
Super Advisor

Re: who is printing??

grep printerid /var/adm/lp/log
Thanks