get the job efficiency of a completed job from slurm
get_job_efficiency.Rdget_job_efficiency() calls the shell command "seff" on the job ID
via batchtools::runOSCommand(), which uses ssh to connect to a login
node before running the command. The resulting output is then parsed
into an R list.
Value
A list with items:
job_idslurm job id - without array suffix
array_job_idslurm job id with array suffix
stateThe job state
coresHow many cores did the job use.
cpu_utilizedHow much CPU time was used.
cpu_efficiencyCPU efficiency
walltimeJob wall-clock time (ellapsed time) in h:m:s format
memory_utilizedMemory utilized in human readible format with (varying) units
memory_efficiencyMemory efficiency.
mem_gbUtilized memory in GiB (bytes * 1024^3)
wall_minJob wall-clock time in decimal minutes