Problem Description
I am working with a floating network license, FNL, of COMSOL. How can I determine who is currently using COMSOL or a specific module? This solution also applies for Class Kit Licenses (CKL).
Solution
The COMSOL installation provides FlexNet license utility programs that produce a list of current COMSOL users for all licensed products, see below for platform-dependent instructions.
Note that these steps can be performed from any computer by any user that can check out licenses. This approach is not limited to the license administrator or license server.
For more information about the FlexNet licensing system, and more detailed options through the lmutil
and lmstat
tools, see the COMSOL Multiphysics Documentation page (from the GUI, navigate to Help->Documentation->FlexNet Documentation->License Administration Guide).
More advanced usage tracking is offered by third-party tools like FlexNet Manager.
Windows
Use the LMTOOLS utility:
- Start > All Programs > COMSOL Multiphysics 6.3 > COMSOL Launchers > LMTOOLS.
- On the Service/License File tab, choose Configuration using License File.
- Browse to the local license file
C:\Program Files\COMSOL\COMSOL63\Multiphysics\license\license.dat
(NB: The Open file dialog is preset to look for .lic files. To find the license.dat file, please change the file type.) - Go to the Server Status page and select Perform Status Enquiry.
If the license manager serves more than one software it can sometimes be more convenient to use the command line alternative in Windows to get more control:
- In Windows Explorer, go to the folder
C:\Program Files\COMSOL\COMSOL63\Multiphysics\license\win64
. - In the address field in Windows Explorer, write
cmd
and press Enter to get a command prompt in the mentioned folder. - At the command prompt enter
lmutil lmstat –a –c ../license.dat
orlmutil lmstat –a –c 1718@licsrv
. Here 1718 is the port and licsrv is the name of the host where the license manager was started.
Linux
Open a terminal window and run these commands:
cd /usr/local/comsol63/multiphysics/license/glnxa64
./lmstat -a -c ../license.dat
this gives full information about licenses and users. To get a short version, try
./lmstat -a -c ../license.dat | grep Users
Alternatively, if you know the host name of the license manager you will not need the license.dat file:
cd /usr/local/comsol63/multiphysics/license/glnxa64
./lmstat -a -c 1718@licsrv
Here, 1718 is the default port, and licsrv the host name of the license manager. You can see this information in the license file on the first line as SERVER licsrv 123456789 1718
.
For more information, see ./lmstat -h
mac OS X
Start the Terminal application and run these commands:
cd /Applications/COMSOL63/Multiphysics/license/maci64
./lmstat -a -c ../license.dat
COMSOL makes every reasonable effort to verify the information you view on this page. Resources and documents are provided for your information only, and COMSOL makes no explicit or implied claims to their validity. COMSOL does not assume any legal liability for the accuracy of the data disclosed. Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark details.