enjoy_slurm.sacct#

enjoy_slurm.sacct(jobid=None, format=None, steps=None, verbose=False, **kwargs)[source]#

Accounting data for all jobs and job steps in the Slurm job accounting log or Slurm database

Parameters:
  • jobid (int) – If provided, displays information about the specified job.

  • format (list) – List of columns that should be shown.

  • steps (str) – Jobsteps that should be shown. If None, all jobsteps are returned. Use mininmal to return only the main inclusive step.

  • verbose (bool) – Print sacct command.

Returns:

sacct info – Slurm accounting data.

Return type:

DataFrame