Force License Check-In (Linux)

You can use the lmutil command from a terminal window to check back a license. See the example below on how to do this.

  1. Navigate to the Ansys install directory ansys_inc/shared_files/licensing/linx64/

  2. Run the command below to see which licenses are checked out on the license server phonedc (replace with the name of your server)

      ./lmutil lmstat -c 1055@phonedc -f
    
  3. The license status can look like below

    Users of ansys: (Total of 20 licenses issued; Total of 1 licenses in use)

    “ansys” v9999.9999, vendor: ansyslmd

    floating license

    jola magritte.medeso.local MAGRITTE (v2009.0929) (phonedc/1055 1234), start Fri 10/1 10:32

  4. To return the license you can run the following command

     ./lmutil lmremove -c 1055@phonedc ane3fl jola magritte.medeso.local MAGRITTE
    

    It is important that you type in user, hostname and display exactly as they were stated above (use copy and paste)

    jola magritte.medeso.local MAGRITTE (v2009.0929) (phonedc/1055 1234), start Fri 10/1 10:32

  5. Check that the license is returned by displaying the status with the following command

      ./lmutil lmstat -c 1055@phonedc -f
    

If the same user have checked out multiple instances of the same license you could try using the “handle” information (the number last in the display section). It would then be

./lmutil lmremove -c 1055@phonedc -h ansys phonedc 1055 1234

where phonedc is the license server name, ansys is the feature name for the license and 1234 is the handle number in the example above