主要内容

Monitor Network License Manager

本主题描述了您可以用来管理网络许可证管理器的几个实用程序。有关这些公用事业的详细信息,请参阅许可管理指南, included in PDF format in your MATLAB®installation (Matlabroot\ etc \ licenSeadMinistration.pdf).

LMTools可用于Windows®computers only. All operating systems can use the command line utilities.

使用lmtools(仅Windows)

On Windows computers, FlexNet®发布者许可包括一个称为LMTools的工具。使用LMTools,您可以执行许多许可管理任务,例如:

  • Get the status of the network license manager.

  • 启动和停止网络许可证管理器。

  • Configure the network license manager as a service.

To illustrate, the following example shows how to use LMTOOLS to see the current status of the network license manager:

  1. Start LMTOOLS by double-clicking thelmtools.exefile in theMatlabroot\etc\$ARCHfolder, whereMatlabrootis your MATLAB installation folder and$ARCHis a platform-specific subfolder, such aswin64.

  2. 选择Server Statustab.

  3. 点击Perform Status Enquirybutton. LMTOOLS displays the same information as if you had entered the commandlmutillmstat-一个.

    LMTools对话框,显示许可证管理器的状态

Using Command-Line Utilities

FlexNet licensing includes a set of license management utilities that you can use to start, stop, and monitor the network license manager.

在Windows计算机上,FlexNet在单个命令行可执行文件中包装所有实用程序lmutil.exe. This program is available in theMatlabroot\etc\$ARCHfolder, whereMatlabrootis your MATLAB installation folder and$ARCHis a platform-specific subfolder, such aswin64. For example, to run a status check of the network license manager, open a DOS command window and runlmutilspecifyinglmstat作为一个论点:

lmutillmstat-一个-C"C:\Program Files\MATLAB\R2022a\etc\license.dat"

The-一个option requests a verbose listing. You must also include the-C选项指定要使用的许可证文件。您必须使用每个选项lmutiloption. If your installation path contains spaces, enclose the path in quotes. The following listing is a portion of the information returned.

lmutil- Copyright (c) 1989-2018 Flexera Software Inc. All Rights Reserved. Flexible License Manager status on Fri 12/17/2021 10:11 [Detecting lmgrd processes...] License server status: 27000@lmsvr-837962 License File(s) on lmsvr-837962: C:\Program Files\MATLAB\R2022a\ etc \ clicenter.dat:lmsvr-837962:许可证服务器UP(Master)v.11.16.2供应商守护程序状态(在LMSVR-837962上):MLM:UP v11.16.2功能用法Info:MATLAB的用户:(总计5 5可用的许可证)Simulink用户:(共有5个可用许可证)万博1manbetxcontrol_toolbox的用户:(总计5个可用的许可证)dissideation_toolbox用户:(总计5个可用的许可证)

查看所有公用事业清单lmutil包装类型:

lmutil-H

To get help for a particular utility, type the name of the utility with the-Hoption, as in the following example:

lmutillmstat-H

在Linux和苹果系统computers, these license management utilities are individual executables, available in theMatlabroot/etcfolder. For example, to view the status of the network license manager, use thelmstat实用程序,如下:

lmstat-一个lmutil- Copyright (c) 1989-2018 Flexera Software Inc. All Rights Reserved. Flexible License Manager status on Fri 12/17/2021 10:11 License server status: 27000@lmsvr-837962 License File(s) on lmsvr-837962: /usr/local/MATLAB/R2022a/etc/license.dat: lmsvr-837962: license server UP (MASTER) v.11.16.2 Vendor daemon status (on lmsvr-837962): MLM: UP v11.16.2 Feature usage info: Users of MATLAB: (Total of 5 licenses available) Users of SIMULINK: (Total of 5 licenses available)

要获得特定实用程序的帮助,请使用-Hoption, as in the following example:

lmstat-H

The following table lists the names of the most useful license management tools included.

Utility 描述

lmdiag

Diagnose license checkout problems.

lmdown

Shut down all license daemons (bothlmgrd和所有供应商守护程序)在许可证服务器节点上。

lmhostid

Reportthe host ID of a system.

lmreread

使网络许可证经理重新阅读许可证文件,并启动任何新的供应商守护程序。

Note

When you uselmrereadto reprocess a license file for a user-based license, changes toINCLUDEstatements in the associated network license manager options file take effect after a 15-minute delay.

lmstat

显示所有网络许可活动的状态。

lmswitchr

Switch to another report log file.

lmver

Determine the version of a library or binary file.

Acknowledgments

本主题列出了网络许可管理器供应商守护程序中使用的内容的版权所有者。

MD5

MD5derived from RSADSI MD5 Message-Digest Algorithm.Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All rights reserved.

License to copy and use this software is granted provided that it is identified as the "RSA Data Security, Inc. MD5 Message-Digest algorithm" in all material mentioning or referencing this software or this function.

License is also granted to make and use derivative works provided that such works are identified as "derived from the RSA Data Security, Inc. MD5 Message-Digest Algorithm" in all material mentioning or referencing the derived work.

RSA Data Security,Inc。没有关于此软件的适销性或该软件适合任何特定目的的适用性的陈述。它的“原样”提供了任何明示或暗示的保证。

这些通知必须保留在本文档和/或软件的任何部分的任何副本中。

相关话题