madhuneal / ppss

Automatically exported from code.google.com/p/ppss
0 stars 0 forks source link

suggestion: summary line #jobs-succeeded #jobs-failed, also in progress-line. #57

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run ppss with a lot of jobs (e.g. hundreds of variable-length jobs)

2. Wait for all jobs to get processed.

3. Look on the ppss screen at the *end* of processing: there is no indication 
of the number of jobs that succeeded (returned exit code 0) , the number that 
failed (returned exit code not-zero).

4. Similarly, while the ppss script is running there is no information on the 
progress line of the number of jobs that *succeeded* or *failed* so far.

What is the expected output? What do you see instead?

I'm not sure if this is a feasible suggestion in a distributed environment, but 
for the non-distributed case a feature like this would improve the value of 
ppss.

Would be helpful to have a summary line on the ppss output screen.
For example: the line that shows stuff like:
Aug 13 20:25:18:  Currently 33 percent complete. Processed 80 of 236.
would be more useful (In my opinion) to read
Aug 13 20:25:18:  Currently 33 percent complete. Processed 80 of 236. 
(succeeded: 79 failed:1 ).

And at the end of all $ITEMs processed then a summary line:
236 files processed, 157 succeeded, 79 failed.

Yes sure it is possible to find this information by grepping the job_log files, 
but summary information like that would make it a lot more helpful.

What version of the product are you using? On what operating system?
2.85

Please provide any additional information below.
RHEL

Original issue reported on code.google.com by oreilly....@gmail.com on 13 Aug 2011 at 7:34

GoogleCodeExporter commented 9 years ago
If this would work non-distributed, it can be made to work distributed. 

I find this a useful suggestion. The problem is that I need some solution that 
child processes can report back to the parent. But this is such a nice feature 
that I will take a look at it.

Original comment by Louwrentius on 17 Aug 2011 at 10:41

GoogleCodeExporter commented 9 years ago
This feature has been implemented in version 2.90. It also works in distributed 
mode. This version is not yet considered stable but is available from SVN.

Original comment by Louwrentius on 21 Aug 2011 at 6:36

GoogleCodeExporter commented 9 years ago

Original comment by Louwrentius on 9 Oct 2011 at 9:55