It4innovations / hyperqueue

Scheduler for sub-node tasks for HPC systems with batch scheduling
https://it4innovations.github.io/hyperqueue
MIT License
277 stars 23 forks source link

Feature: Show summary in job logs #545

Closed ghuls closed 1 year ago

ghuls commented 1 year ago

It would be nice to have some summary in e.g. job list and other output. e.g. total number of jobs, number of jobs finished, canceled, ...

hq job list --all
Kobzol commented 1 year ago

Good idea. To be honest, we rather discourage users from creating a large amount of jobs, as this is not the intended use-case for HQ (rather, there should be fewer jobs, each with a lot of tasks), so some job reporting interfaces are a bit lacking.

We have discussed this and we would like to propose adding a hq job summary command that will display a short table with the amount of jobs in various states, rather than putting more stuff into the existing commands.