HP Distributed Print Service Administration Guide

362 Chapter11
Managing Jobs and Supporting Users
Determining Job States and Job Status
This attribute is updated when the job is queried or
after each document copy completes.
job-copies-completed Reports the number of copies of the
particular job that have been printed.
This attribute is updated after each job copy completes.
processing-time Reports the amount of time that the job has been
printing on the printer. This attribute is updated when
a user queries the job with the pdls command. The
value is calculated by comparing the value of the
started-printing-time attribute with the current
time.
If the job is retained, you can also query the job after it has finished
printing and find out this information.
Querying for the Number of Octets Completed for a Processing
Job
To compare the number of octets (bytes) completed to the size of the job
for Spool3, enter:
pdq -U -s column -r total-job-octets,octets-completed \
Spool3:3459400062
Include the -U flag if you did not submit the job you are querying and use
-s column to specify a column format for the information.
HPDPS displays information similar to the following:
Total Octets
Octets Completed
------ ---------
113889 66944
In this example, HPDPS has completed a little more than half of the job.
Querying for the Number of Job Copies Completed for a
Processing Job
To query for the number of job copies completed for a large job specifying
multiple copies for Spool3, enter:
pdq -U -s column -r "job-copies-completed,results-profile" \
Spool3:3459400062
HPDPS displays information similar to the following: