Skip to content

kcl-eresearch/hpc_seff_script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slurm efficiency tool

A reimplementation of the Slurm efficiency Perl plugin, in Python, with added functionality for reporting GPU usage efficiency.

Installation

We recommend installing with poetry.

git clone git@github.com:kcl-eresearch/hpc_seff_script.git
cd hpc_seff_script/
poetry install

This makes the seff command available in the poetry virtual environment.

Usage

usage: seff [-h] [--timeout TIMEOUT] jobid

Summarize Slurm job efficiency.

positional arguments:
  jobid              Slurm job ID

options:
  -h, --help         show this help message and exit
  --timeout TIMEOUT  Timeout for each command in seconds (default: 20)

Example:

$ seff 1234567
Job ID: 1234567
User: k1234567
State: COMPLETED
Elapsed time: 10:43:19
GPU(s) allocated: none
CPU Efficiency: 95.4% of 6 core(s) used
Memory Efficiency: 1.3% of 6000 MB used

About

A rewrite of the perl script `seff` in Python, updated to include GPU utilisation. Owner: @MWyatt2024

Resources

Stars

Watchers

Forks

Contributors

Languages