Submit a job to a high-priority queue to preempt a job from a low-priority queue for the resource
LicenseA.
bsub -J third -q high -R "rusage[LicenseA=1:duration=2]" your_app
After a while, the third job is running and the second job is suspended.
bjobs
JOBID USER STAT QUEUE FROM_HOST EXEC_HOST JOB_NAME SUBMIT_TIME
203 you RUN high hostx hostA /third Aug 23 15:48
201 you RUN low hostx hostA /first Aug 23 15:42
202 you SSUSP low hostx hostB /second Aug 23 15:43
bhosts -s LicenseA
RESOURCE TOTAL RESERVED LOCATION
LicenseA 0 2.0 hostA hostB ...