I'm writing a script that collect job information. I would like to get the wall time limit for each pending job (as specified with bsub -W) using bjobs. I can get information such as the number of cpus using a command like:

bjobs -u all -p -o 'jobid user min_req_proc'

But I can't find any keyword that will give me wall time. Does such a method exist? Right now I have to run bjobs -l for every job to get that information, which is very slow.

  • Have you tried runtimelimit -- bjobs -u all -p -o 'jobid user runtimelimit' – Squirrel Feb 8 at 17:11
  • What is that bjobs command, btw? – Rui F Ribeiro Feb 8 at 18:25
  • Holy smokes, runtimelimit did it! I can't find that in the official bjobs manual. Where can I get a complete list of the available keywords? – lsf-novice Feb 8 at 18:51
  • I found it here: ibm.com/support/knowledgecenter/en/SSWRJV_10.1.0/… -- it's under the -o option. I can write an answer with the link. – Squirrel Feb 8 at 19:18

runtimelimit is -o the keyword you're looking for. You can find a full list of supported keywords here:


Unfortunately the table doesn't tell you exactly which bsub options they map to.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.