Questions tagged [sacct]

sacct is a tool that displays accounting data for all jobs and job steps in the SLURM job accounting log or SLURM database

The sacct command displays job accounting data stored in the job accounting log file or SLURM database in a variety of forms for your analysis. The sacct command displays information on jobs, job steps, status, and exitcodes by default.

17 questions
0
votes
1 answer

Slurm: How to obtain only jobID using jobName through a script

If I know the name of a job I have run, how could I return only its jobID through a script. For example, running sacct --name run.sh returns following output, where I want to return only 50 (jobID). $ sacct --name run.sh JobID JobName …
alper
  • 2,919
  • 9
  • 53
  • 102
0
votes
1 answer

SLURM: Elapsed time does not return day?

Following link https://slurm.schedmd.com/sacct.html defines Elapsed time as follows: Elapsed The jobs elapsed time. The format of this fields output is as follows: [DD-[HH:]]MM:SS Following code returns: jobId = 1; sacct -j $jobId…
alper
  • 2,919
  • 9
  • 53
  • 102
1
2