Project

General

Profile

Feature #1864

Request for printout at the end of art

Added by Rob Kutschke about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
High
Category:
Application
Target version:
Start date:
09/16/2011
Due date:
% Done:

100%

Estimated time:
Scope:
Internal
Experiment:
-
SSI Package:
Duration:

Description

I would like to add some end of job printout to the art main program. If possible, I would like it to be available in the bug-fix release planned for next week.

1. I would like the very last line in the art main program to print:
"Art has completed and will exit with status: " xxx
We will advise users that, if this line is the last line, then art will have reached its normal end of execution. If not some error has
occurred that requires further investigation. And we will tell them about the meanings of the status codes.

2. If possible, I would also like a few more pieces of information. These should not conflict with information that will eventually be stored
in the meta-data database, but may duplicate some of that information. The purpose is for user convenience.
a) The number of events taken from the input source
b) The number of events written to each output.
c) The total real/CPU time taken for the job.
d) If it is available, the peak virtual memory size.

I understand that this last item might only be available if I turn on the memory check service, which already prints it out. If that's the case, drop the request.

Associated revisions

Revision dfa32c25 (diff)
Added by Christopher Green about 8 years ago

Implement end-of-execution message and minimal summary per issue #1864.

Revision 134da7bd (diff)
Added by Christopher Green about 8 years ago

Implement end-of-execution message and minimal summary per issue #1864.

History

#1 Updated by Christopher Green about 8 years ago

  • Category set to Application
  • Status changed from New to Assigned
  • Assignee set to Christopher Green
  • Priority changed from Normal to High
  • Target version set to 0.07.16

1. I would like the very last line in the art main program to print:

Art has completed and will exit with status: xxx
We will advise users that, if this line is the last line, then art will have reached its normal end of execution. If not some error has occurred that requires further investigation. And we will tell them about the meanings of the status codes.

We can certainly do this.

2. If possible, I would also like a few more pieces of information. These should not conflict with information that will eventually be stored

in the meta-data database, but may duplicate some of that information. The purpose is for user convenience.
a) The number of events taken from the input source
b) The number of events written to each output.
c) The total real/CPU time taken for the job.

All the above (and more) are part of the job summary, selectable with the parameter Services.Scheduler.wantSummary, but I will make sure that the particular items you want will be printed on their own if summary is not requested explicitly.

d) If it is available, the peak virtual memory size.

I believe this requires the SimpleMemoryCheck service to be operational, in which case I think we'll take you up on your offer to drop the request.

BTW: the behavior you saw with the possibly-truncated summary could be due to your configured limits on INFO-level diagnostics. I will change the summary print from Verbatim to Absolute, which should solve this problem.

Thanks,
Chris.

#2 Updated by Christopher Green about 8 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Resolved with dfa32c2.

#3 Updated by Christopher Green about 8 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF