Update 2.1 Batch job submission authored by Odunlami Marc's avatar Odunlami Marc
...@@ -134,7 +134,7 @@ Display the global number of hours computed by *username* between June 1, 2019 a ...@@ -134,7 +134,7 @@ Display the global number of hours computed by *username* between June 1, 2019 a
sreport -t hours user TopUsage Group Start=2019-06-01 End=2020-01-01 Users=username sreport -t hours user TopUsage Group Start=2019-06-01 End=2020-01-01 Users=username
``` ```
Display the resources used by the terminated *job_id* job: Display the real resources used by the terminated *job_id* job:
``` ```
sacct -j job_id --format=JobID,State,TRESUsageInMax%100 | grep batch sacct -j job_id --format=JobID,State,TRESUsageInMax%100 | grep batch
``` ```
...@@ -144,7 +144,7 @@ The output of this command will look like this: ...@@ -144,7 +144,7 @@ The output of this command will look like this:
In the above example, the used cumulated CPU time of the *job_id* job is about 10 hours, and the used maximal total memory during the execution is about 13 GB. In the above example, the used cumulated CPU time of the *job_id* job is about 10 hours, and the used maximal total memory during the execution is about 13 GB.
Display the resources used by the terminated jobs of *username* starting and ending between February 1, 2021 and March 1, 2021 on the bigmem partition: Display the real resources used by the terminated jobs of *username* starting and ending between February 1, 2021 and March 1, 2021 on the bigmem partition:
``` ```
sacct -u username --partition=bigmem --starttime=2021-02-01 --endtime=2021-03-01 --format=JobID,State,TRESUsageInMax%100 | grep batch sacct -u username --partition=bigmem --starttime=2021-02-01 --endtime=2021-03-01 --format=JobID,State,TRESUsageInMax%100 | grep batch
``` ```
\ No newline at end of file