Skip to content

wahello/slurm-client-go

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slurm-client-go

A command line tool for Slurm using in CMA-PI HPC by CEMC.

Features

  • Query active jobs
  • Show partition information.
  • Filter long time jobs for operation users.

Installing

Download the latest codes from Github.

Build the binary using:

go build -o bin/slclient main.go

Or use Makefile in Linux.

Getting started

Query Slurm jobs:

slclient query

All jobs in queue will be shown:

5831234 RUNNING normal lijl    2019-01-29 00:37:49 /g6/lijl/BCC_CSMv3.v20190124/p25_2/build.csh
5831591 RUNNING normal lijl    2019-01-29 01:42:05 /g6/lijl/BCC_CSMv3.v20190124/p25_3/build.csh
5836542 RUNNING normal chendh  2019-01-29 08:41:45 /g8/JOB_TMP/chendh/ShCu/RUN_24/grapes.sbatch
5864521 RUNNING normal lijl    2019-01-31 01:10:34 /g6/lijl/BCC_CSMv3.v20190124/p25_5/build.csh

Use slclient --help to see more sub-commands.

License

Copyright © 2019-2022, Perilla Roc at cemc-oper.

slurm-client-go is licensed under MIT License.

About

A CLI client for Slurm.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 99.7%
  • Makefile 0.3%