How to View COMSOL® License Usage
For floating network, class kit, and COMSOL Server™ licenses, your COMSOL® software installation provides FlexNet® license utility programs that identify current users, their system information, and the licenses they currently have checked out.
If you are a user with license checkout access, you can view license usage information from any computer on the network; usage monitoring is not limited to the license administrator or the computer hosting the license server but requires that the FlexNet® utilities are available on the local machine.
In this article, we'll provide instructions for how to access usage information on Windows®, Linux®, and macOS, including an example showing the usage information for a license scenario on Windows®.
The instructions in this guide are based on the default installation paths. Note that your installation path may be custom and/or differ due to version and/or architecture.
Accessing Usage Information on Windows®
Using the LMTOOLS Utility
- Navigate to Start > All Programs > COMSOL Multiphysics 6.4 > COMSOL Launchers > LMTOOLS.
- On the Service/License File tab, choose Configuration using License File.
- Browse to the local license file:
C:\Program Files\COMSOL\COMSOL64\Multiphysics\license\license.datℹ️The Open file dialog is preset to look for .lic files. To find the license.dat file, you will need to change the file type.
- Go to the Server Status tab and select Perform Status Enquiry.
Using the Command Line
If you are using the FlexNet® license manager for programs in addition to the {comsol} software, using the command line alternative in Windows® can provide greater flexibility and control. To use the command:
- Go to the folder
C:\Program Files\COMSOL\COMSOL64\Multiphysics\license\win64. - In the address field in Windows Explorer, write
cmdand press Enter to get a command prompt in the mentioned folder. - In the command prompt window, enter
lmutil lmstat -a -c ../license.datorlmutil lmstat -a -c 1718@licsrv.- Here,
1718is the port andlicsrvis the name of the host where the license manager was started.
- Here,
Example
Let's assume that we have a floating network license (FNL) with two keys for COMSOL Multiphysics®, one key for the Structural Mechanics Module, and one key for the AC/DC Module. A user called jonas has been working on a solid mechanics model, while a user called sergey on a magnetic fields model. Both are using their local machines.
To get the usage information on a Windows® system, we opened a command line window and then used the command cd C:\Program Files\COMSOL\COMSOL64\Multiphysics\license\win64 to change the directory. Then, we ran the command lmutil lmstat -a -c ../license.dat to see the printout from lmstat.exe, which reflects that Jonas and Sergey are currently using the expected licenses:
Click here to expand
lmutil - Copyright (c) 1989-2025 Flexera. All Rights Reserved. Flexible License Manager status on <DATE01> [Detecting lmgrd processes...] License server status: <PORT>@<HOSTNAME> License file(s) on <HOSTNAME>: C:\Program Files\COMSOL\COMSOL64\Multiphysics\license\license.dat: <HOSTNAME>: license server UP (MASTER) v11.19.8 Vendor daemon status (on <HOSTNAME>): LMCOMSOL: UP v11.19.8 Feature usage info: Users of SERIAL: (Uncounted, node-locked) "SERIAL" v6.4, vendor: LMCOMSOL, expiry: permanent(no expiration date) vendor_string: <STRING01> uncounted nodelocked license locked to NOTHING (hostid=ANY) jonas jonasWS jonasWS (v6.4) (<HOSTNAME>/<PORT> <LICENSEHANDLEID01>), start <DATE02> sergey sergeyWS sergeyWS (v6.4) (<HOSTNAME>/<PORT> <LICENSEHANDLEID02>), start <DATE03> Users of COMSOL: (Total of 2 licenses issued; Total of 2 licenses in use) "COMSOL" v6.4, vendor: LMCOMSOL, expiry: permanent(no expiration date) vendor_string: <STRING02> floating license jonas jonasWS jonasWS (v6.4) (<HOSTNAME>/<PORT> <LICENSEHANDLEID03>), start <DATE02> sergey sergeyWS sergeyWS (v6.4) (<HOSTNAME>/<PORT> <LICENSEHANDLEID04>), start <DATE03> Users of COMSOLGUI: (Total of 2 licenses issued; Total of 2 licenses in use) "COMSOLGUI" v6.4, vendor: LMCOMSOL, expiry: permanent(no expiration date) vendor_string: <STRING02> floating license jonas jonasWS jonasWS (v6.4) (<HOSTNAME>/<PORT> <LICENSEHANDLEID05>), start <DATE02> sergey sergeyWS sergeyWS (v6.4) (<HOSTNAME>/<PORT> <LICENSEHANDLEID06>), start <DATE03> Users of COMSOLUSER: (Total of 2 licenses issued; Total of 2 licenses in use) "COMSOLUSER" v6.4, vendor: LMCOMSOL, expiry: permanent(no expiration date) vendor_string: <STRING02> floating license jonas jonasWS jonasWS (v6.4) (<HOSTNAME>/<PORT> <LICENSEHANDLEID07>), start <DATE02> sergey sergeyWS sergeyWS (v6.4) (<HOSTNAME>/<PORT> <LICENSEHANDLEID08>), start <DATE03> Users of ACDC: (Total of 1 licenses issued; Total of 1 licenses in use) "ACDC" v6.4, vendor: LMCOMSOL, expiry: permanent(no expiration date) vendor_string: <STRING02> floating license sergey sergeyWS sergeyWS (v6.4) (<HOSTNAME>/<PORT> <LICENSEHANDLEID09>), start <DATE03> Users of STRUCTURALMECHANICS: (Total of 1 licenses issued; Total of 1 licenses in use) "STRUCTURALMECHANICS" v6.4, vendor: LMCOMSOL, expiry: permanent(no expiration date) vendor_string: <STRING02> floating license jonas jonasWS jonasWS (v6.4) (<HOSTNAME>/<PORT> <LICENSEHANDLEID10>), start <DATE02> Users of COMSOLBATCH: (Total of 2 licenses issued; Total of 0 licenses in use) Users of CHATBOT: (Total of 2 licenses issued; Total of 0 licenses in use) Users of CLIENTSERVER: (Total of 2 licenses issued; Total of 0 licenses in use) Users of CLUSTERNODE: (Total of 2 licenses issued; Total of 0 licenses in use) Users of MODELMANAGER: (Total of 2 licenses issued; Total of 0 licenses in use) Users of MODELMANAGERBATCH: (Total of 2 licenses issued; Total of 0 licenses in use) Users of MODELMANAGERSERVERBATCH: (Total of 2 licenses issued; Total of 0 licenses in use) Users of ACDCBATCH: (Total of 1 licenses issued; Total of 0 licenses in use) Users of STRUCTURALMECHANICSBATCH: (Total of 1 licenses issued; Total of 0 licenses in use)
Accessing Usage Information on Linux®
Open a terminal window and run these commands:
cd /usr/local/comsol64/multiphysics/license/glnxa64
./lmstat -a -c ../license.dat
Note: If you are running on ARM hardware, replace
glnxa64withglnxarm64.
Running these commands gives full information about current license usage, including information about currently unused licenses. To view only the information about licenses currently being used, 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. Instead, you can run the following commands:
cd /usr/local/comsol64/multiphysics/license/glnxa64
./lmstat -a -c 1718@licsrv
You will need to include the default port (in this example, 1718) and the host name of the license manager (in this example, licsrv), which can be found on the first line of the license file (in this example, SERVER licsrv 123456789 1718).
For more information, enter the help command, ./lmstat -h.
Accessing Usage Information on macOS
Start the Terminal application and run these commands:
Apple Silicon
cd /Applications/COMSOL64/Multiphysics/license/macarm64
./lmstat -a -c ../license.dat
Intel CPUs
cd /Applications/COMSOL64/Multiphysics/license/maci64
./lmstat -a -c ../license.dat
Further Learning
For more information about the FlexNet® licensing system and more detailed administration options available through the lmutil and lmstat tools, refer to the License Administration Guide. Open the guide with the following steps:
- Open the COMSOL Documentation from the COMSOL Multiphysics® user interface (File > Help > Documentation or Ctrl+F1).
- Scroll to the bottom of the table of contents and open the "License Administration Guide" PDF shown under "FlexNet Documentation".
You can find more advanced usage tracking functionality through third-party tools like the FlexNet Manager® tools.
このページに関するフィードバックを送信, または サポートに連絡 してください.
