apps.crc_squeue

A simple wrapper around the Slurm squeue command.

Module Contents

class CrcSqueue

Bases: apps.utils.cli.BaseParser

Summarize currently running Slurm jobs.

output_format_user = "-o '%.8i %.3P %.35j %.2t %.12M %.6D %.4C %.50R %.20S'"
output_format_all = "-o '%.8i %.3P %.6a %.6u %.35j %.2t %.12M %.6D %.4C %.50R %.20S'"
classmethod build_slurm_command(args: argparse.Namespace) str

Return an squeue command matching parsed command line arguments

Parameters:

args – Parsed command line arguments

app_logic(args: argparse.Namespace) None

Logic to evaluate when executing the application

Parameters:

args – Parsed command line arguments