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.

15 questions
25
votes
1 answer

Expand columns to see full jobname in Slurm

Is it possible to expand the number of characters used in the JobName column of the command sacct in SLURM? For example, I currently have: JobID JobName Elapsed NCPUS NTasks State ------------ ---------- ----------…
br19
  • 371
  • 1
  • 5
  • 11
2
votes
1 answer

understanding sacct's maxRSS -- Why are there two rows for a job?

I have the output from sacct --format="jobID,CPUTime,MaxRSS" -j 66930332_195. I know maxRSS reports a value roughly equivalent to max memory usage. However, what do the two different rows in maxRSS refer to? JobID CPUTime …
Jautis
  • 367
  • 4
  • 12
2
votes
1 answer

Is it possible to I use `sacct --name` by providing only the beginning of the job's name?

From the sacct man page: --name: Display jobs that have any of these name(s). Use this comma separated list of uids or user names When I provide full job's name following command works sacct --name [job_name] $ sacct…
alper
  • 1,558
  • 2
  • 24
  • 54
2
votes
1 answer

SLURM - report of usage per account

Our cluster used SLURM to manage the workload. I would like to extract a report that reports the CPU, RAM and disk usage per account, for all jobs completed after a given date. Is it possible? I have been looking at sreport and sacct, but can't seem…
jorgehumberto
  • 817
  • 3
  • 13
  • 27
2
votes
1 answer

questions on time usage reported by SLURM

I have problems understanding the time usage report below: 1) why the times for job step 1 & 2 do not add up to the batch line? 2) what is the relationship between each column, especially for TotalCPU and CPUTime? 3) for time usage of the job, which…
RNA
  • 126,288
  • 12
  • 45
  • 61
1
vote
1 answer

sacct reports different results for the same job

I run sacct with -j switch, for a specific job-id. Depending on other command line switches two completely different results are reported for the same job. Here are three examples. The second one shows different result than the other two. attar@lh>…
hamid attar
  • 368
  • 1
  • 8
1
vote
0 answers

Slurm sacct different two lines

I have a question about Slurm sacct output. JobID ReqCPUS ResvCPU AllocCPUS ResvCPURAW SystemCPU CPUTimeRAW TotalCPU UserCPU ------------ -------- ---------- ---------- ---------- ---------- ---------- ----------…
Mike
  • 269
  • 3
  • 14
0
votes
0 answers

Can I see if finished SLURM job were on dependency?

Is there a way to find out if jobs that I already ran with SLURM workload manager where on a dependency ? The sacct command has an option "pending" which should show if a job was on hold, but in my case it just prints out all jobs: sacct -M cm2…
0
votes
2 answers

How do I find the queuing time for completed SLURM jobs?

I am trying to find a way to see the waiting time of completed jobs until they started on a cluster with SLURM as the Workload manager. I know the "sacct" command can print a lot of information about completed jobs but I don't find anything useful…
0
votes
1 answer

slurm: unable to get job's information using scontrol

When I run following command I am able to see bunch of slurm jobs. Since I can see them, I believe their log should be saved. $ sacct --format="JobID,JobName%30" JobID JobName ------------…
alper
  • 1,558
  • 2
  • 24
  • 54
0
votes
1 answer

What is the difference between a normal user and a user created by sacctmgr for some account?

There are some users (listed in /etc/passwd) who can use Slurm to submit jobs in our cluster. But, with sacctmgr we can also define users belonging to some account(s). What should be the connection of these two group of users? Thanks.
potant
  • 7
  • 1
0
votes
1 answer

Writing terminal output from slurm sacct command into influxdb using curl post?

I need to send the data that the slurm sacct command provides into influxdb using the curl command. I continuously get a 400 cannot parse error returned from influx.
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
  • 1,558
  • 2
  • 24
  • 54
0
votes
2 answers

slurm: How can I prevent job's information to be removed?

Using sacct I want to obtain information about my completed jobs. Answer mentions how could we obtain a job's information. I have submitted a job name jobName.sh which has jobID 176. After 12 hours and new 200 jobs came in, I want to check my job's…
alper
  • 1,558
  • 2
  • 24
  • 54
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
  • 1,558
  • 2
  • 24
  • 54