Preemptive scheduling commands

Commands for submission

Command

Description

bsub -q queue_name

  • Submits the job to the specified queue, which may have a run limit that is associated with it

bsub -W minutes

  • Submits the job with the specified run limit, in minutes

bsub -app application_profile_name

  • Submits the job to the specified application profile, which may have a run limit that is associated with it

Commands to monitor

Command

Description

bjobs -s

  • Displays suspended jobs, together with the reason the job was suspended

Commands to control

Command

Description

brun

  • Forces a pending job to run immediately on specified hosts. For an exclusive job, when LSB_DISABLE_LIMLOCK_EXCL=y, LSF allows other jobs already running on the host to finish but does not dispatch any additional jobs to that host until the exclusive job finishes.

Commands to display configuration

Command

Description

bqueues

  • Displays the priority (PRIO) and run limit (RUNLIMIT) for the queue, and whether the queue is configured to be preemptive, preemptable, or both

bhosts

  • Displays the number of job slots per user for a host

  • Displays the number of job slots available

bparams

  • Displays the value of parameters defined in lsb.params.

badmin showconf

  • Displays all configured parameters and their values set in lsf.conf or ego.conf that affect mbatchd and sbatchd.

    Use a text editor to view other parameters in the lsf.conf or ego.conf configuration files.

  • In a MultiCluster environment, displays the parameters of daemons on the local cluster.