unlhcc / HCCGo

A GUI application for submitting and managing jobs at the Holland Computing Center
6 stars 4 forks source link

Add resource usage bars #197

Open djw8605 opened 7 years ago

djw8605 commented 7 years ago

Create some sort of single bar, like a progress bar (but thicker than the ones we used now), showing how much of the requested memory was actually used.

Same for other attributes, such as time used.

a-weiss-programmer commented 7 years ago

What page do you want these resource bars to be on? The job review page?

djw8605 commented 7 years ago

Yes, the job view page.

a-weiss-programmer commented 7 years ago

Do you only want the resource usage to be shown if the job was successful?

djw8605 commented 7 years ago

Well, show what ever we have. If the job hasn't completed, then don't show the bars. But if the job was successful or failed, show the bars.

In summary, if it has completed, then show the bars. Even if it's been failed or cancelled.

a-weiss-programmer commented 7 years ago

Notes: Make sure for the memory usage bar that the units are the same. bytes would give the most accurate percentage used. Slurm doesn't use consistent units. For example, MB is Mc, KB is K. Run some big jobs to check all the different slurm units