How can I see who is currently using a floating network license?

解决方法编号: 1142
标题: How can I see who is currently using a floating network license?
平台: 所有平台
版本: 所有版本
类别: 安装
关键字:

问题描述

I am working with a floating network license of COMSOL. How can I determine who is currently using COMSOL or a specific module?

解决方法

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.

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 5.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\COMSOL54\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 license/win64 under Multiphysics.
  • 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 or lmutil lmstat –a –c 1718@licsrv. Here 1718 is the port and licsrv is the name of the license manager stated at the top of the license file.

Linux

Open a terminal window and run these commands:

cd /usr/local/comsol54/multiphysics/license/glnxa64
./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/comsol54/multiphysics/license/glnxa64
./lmstat -a -c 1718@licsrv | grep Users

Here, 1718 is the default port, and lcsrv 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. The | grep Users statement gives a shorthand information page. You can skip that to get full information. For more information, see ./lmstat -h

Mac OS X

Start the Terminal application and run these commands:

cd /Applications/COMSOL54/Multiphysics/license/maci64
./lmstat -a -c ../license.dat

If you cannot access the binaries you can donwload them from Solution 1022.


免责声明

COMSOL 尽一切合理的努力验证您在此页面上查看的信息。本页面提供的资源和文档仅供参考,COMSOL 对其有效性不作任何明示或暗示的声明。COMSOL 对所披露数据的准确性不承担任何法律责任。本文档中引用的任何商标均为其各自所有者的财产。有关完整的商标详细信息,请参阅产品手册。