Following command squeue -U < user_name > returns all the jobs that are only running, pending or queued, which are submitted by the user.
[Q] How could I return all the completed jobs submitted by the user? also it is possible to obtain submitted jobs' process_id instead of the job_id?
Thank you for your valuable time and help.
Use
sacct --start=YYYY-MM-DD -u < user_name>
to get all completed or failed jobs from user user_name since date YYYY-MM-DD
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With