Skip to content

Instantly share code, notes, and snippets.

@sahilseth
Last active March 25, 2019 23:30
Show Gist options
  • Save sahilseth/6d0906bd58fa829ada9080b518dda345 to your computer and use it in GitHub Desktop.
Save sahilseth/6d0906bd58fa829ada9080b518dda345 to your computer and use it in GitHub Desktop.
lst_tips
# job details
bhist -l 707919
# prioritize jobs, move them to the TOP
top_jobs=$(bjobs | grep shrna | grep PEND | awk '{print $1}')
for job in $top_jobs; do btop $job; done
# change the resources (change cpu reqt to 4)
bmod -R span[ptile=4] -n4 707919
# reason job pending:
bjobs -p 707919
#Displays information for pending jobs (PEND state) and their reasons.
# There can be more than one reason why the job is pending.
# The pending reasons also display the number of hosts for each condition.
# more detailed per host
bjobs -lp
#To view the pending reasons for all users, run bjobs -p -u all.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment