Skip to content

Instantly share code, notes, and snippets.

@hornos
Created December 5, 2012 14:09
Show Gist options
  • Select an option

  • Save hornos/4215770 to your computer and use it in GitHub Desktop.

Select an option

Save hornos/4215770 to your computer and use it in GitHub Desktop.
slurm_acct
#!/bin/bash
sacct -a --format=jobid,jobname,state,user,account,partition,alloccpus,elapsed | awk '{if(!match($0,"^[0-9]+.batch.*")) print}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment