Skip to content

Instantly share code, notes, and snippets.

@sean-smith
Created December 21, 2022 02:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sean-smith/c62f4ccc6d9b8a153bfb38173874ea1a to your computer and use it in GitHub Desktop.
Save sean-smith/c62f4ccc6d9b8a153bfb38173874ea1a to your computer and use it in GitHub Desktop.
Remove stuck licenses from LSTC License Manager

LSTC Remove Stuck Licenses

  1. Check status of licenses with lstc_qrun:
$ ./lstc_qrun
Defaulting to server 1 specified by LSTC_LICENSE_SERVER variable


                     Running Programs

    User             Host          Program              Started       # procs  # jobs
--------------------------------------------------------------------------------------
ec2-user    15149@hpc6a-dy-hpc6a-h MPPDYNA          Wed Dec 21 01:10     128       0
ec2-user    97484@hpc6a-dy-hpc6a-h MPPDYNA          Wed Dec 21 02:30     700       0
ec2-user    15089@hpc6a-dy-hpc6a-h MPPDYNA          Wed Dec 21 02:30     700       0


                     Queued Programs

    User             Host          Program              Queued        # procs
-----------------------------------------------------------------------------
ec2-user    15214@hpc6a-dy-hpc6a-h MPPDYNA          Wed Dec 21 00:11  1536
ec2-user    15448@hpc6a-dy-hpc6a-h MPPDYNA          Wed Dec 21 00:14   700
ec2-user    20144@hpc6a-dy-hpc6a-h MPPDYNA          Wed Dec 21 01:39   700
  1. Kill with lstc_qkill
$ ./lstc_qkill 15149@hpc6a-dy-hpc6a-h
Defaulting to server 1 specified by LSTC_LICENSE_SERVER variable
Program queued for termination
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment