Skip to content

Instantly share code, notes, and snippets.

@kmader
Last active August 29, 2015 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kmader/10453694 to your computer and use it in GitHub Desktop.
Save kmader/10453694 to your computer and use it in GitHub Desktop.
Useful Linux / Merlin Commands
# check the status of your jobs
qstat
# check the status of all jobs
qstat -u '*'
# check the status of the merlin cluster
qhost
# run an interactive analysis (default is one core and no memory)
qlogin
# run an interactive analysis with 6 cores and 20GB of memory
qlogin -l mem_free=20G -pe smp 6
# put jobs on hold so they do not run
qhold jobNumber
# pub all jobs on hold
qhold -u 'username'
# lower the priority of a single job
qalter -p -100 jobNumber
# lower the priority of all jobs
qalter -p -100 -u 'username'
# kill a single job
qdel jobNumber
# kill all of my jobs
qdel -u 'username'
# load the tipl libraries
. /afs/psi.ch/project/tipl/tiplLoader.bash
# save all the csv files in the subdirectories into a single tar file
ls */*.csv | xargs tar cf justcsv.tar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment