Skip to content

Instantly share code, notes, and snippets.

@icaoberg
Created July 25, 2017 03:37
Show Gist options
  • Save icaoberg/da3d410fe09111a5c7976e321e602367 to your computer and use it in GitHub Desktop.
Save icaoberg/da3d410fe09111a5c7976e321e602367 to your computer and use it in GitHub Desktop.
Simple script that displays the stdout of a running job in SLURM
#!/bin/bash
scontrol show jobid $1 | grep StdOut | cut -d"=" -f2 | xargs tail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment