SUMMARY: lpstat and date

From: Sam Don (don_sam@hotmail.com)
Date: Fri Feb 25 2000 - 16:46:42 CST


My original post:

>What is the time field in the 'lpstat' output? Despite jobs being submitted
>at different times, why does it always show the time as the time at which
>the lpstat command was run, and not the time at which the job was
>submitted? This happens with all the 12 printers accessible from this
>machine.
>
># lpstat -o
>peccary-639 yan 2423 Jan 07 14:28
>peccary-653 yan 2423 Jan 07 14:28
>peccary-296 yan 2423 Jan 07 14:28
>peccary-309 yan 2423 Jan 07 14:28
>peccary-743 yan 2423 Jan 07 14:28
>peccary-756 yan 2423 Jan 07 14:28
>peccary-769 yan 2423 Jan 07 14:28
>
>I think this is an error. If so, how do I fix it?

Thanks to "Griffiths, Dan M." <dan.griffiths@nz.unisys.com> for the
response:

This is a bug with lpstat and there was no fix when I made inquiries with
Sun. If you need to know what time the job was queued search for it with
grep in /var/spool/lp/tmp/<hostname>.

Kind Regards,
Dan Griffiths
Unix Systems Support Specialist

----

Thanks, SD ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:03 CDT