Monitor Network License Manager - MATLAB & Simulink (2024)

Monitor Network License Manager

This topic describes several utilities that you can use to manage the network licensemanager. For detailed information about these utilities, see the LicenseAdministration Guide, included in PDF format in your MATLAB® installation(matlabroot\etc\LicenseAdministration.pdf).

LMTOOLS is available for Windows® computers only. All operating systems can use the command lineutilities.

Using LMTOOLS (Windows Only)

On Windows computers, FlexNet® Publisher licensing includes a tool, called LMTOOLS. Using LMTOOLS,you can perform many license management tasks, such as:

  • Get the status of the network license manager.

  • Start and stop 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 currentstatus of the network license manager:

  1. Start LMTOOLS by double-clicking thelmtools.exe file in thematlabroot\etc\$ARCHfolder, where matlabroot is your MATLAB installation folder and$ARCH is aplatform-specific subfolder, such as win64.

  2. Select the Server Statustab.

  3. Click the Perform Status Enquirybutton. LMTOOLS displays the same information as if you had entered thecommand lmutil lmstat -a.

    Monitor Network License Manager- MATLAB & Simulink (1)

Using Command-Line Utilities

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

On Windows computers, FlexNet packages all the utilities in a single, command-line executable calledlmutil.exe. This program is available in thematlabroot\etc\$ARCH folder,where matlabroot is your MATLAB installation folder and $ARCH is aplatform-specific subfolder, such as win64. For example, to run astatus check of the network license manager, open a DOS command window and runlmutil specifying lmstat as anargument:

lmutil lmstat -a -c "C:\Program Files\MATLAB\R2024a\etc\license.dat"

The -a option requests a verbose listing. You must also includethe-c option to specify the license file to use. You must usethis option with every lmutil option. If your installation pathcontains spaces, enclose the path in quotes. The following listing is a portion ofthe 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-837962License File(s) on lmsvr-837962: C:\Program Files\MATLAB\R2024a\etc\license.dat: lmsvr-837962: license server UP (MASTER) v.11.16.2Vendor daemon status (on lmsvr-837962): MLM: UP v11.16.2Feature usage info:Users of MATLAB: (Total of 5 licenses available)Users of SIMULINK: (Total of 5 licenses available)Users of Control_Toolbox: (Total of 5 licenses available)Users of Identification_Toolbox: (Total of 5 licenses available) 

To view a list of all the utilities in the lmutil package,type:

lmutil -h

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

lmutil lmstat -h

On Linux and macOS computers, these license management utilities are individualexecutables, available in thematlabroot/etc folder. Forexample, to view the status of the network license manager, use thelmstat utility, as follows:

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

To get help for a particular utility, use the -h option, as inthe following example:

lmstat -h

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

UtilityDescription

lmdiag

Diagnose license checkout problems.

lmdown

Shut down all license daemons (bothlmgrd and all vendor daemons) on thelicense server node.

lmhostid

Report the host ID of a system.

lmreread

Make the network license manager reread the licensefile and start any new vendor daemons.

Note

When you use lmreread to reprocessa license file for a user-based license, changes toINCLUDE statements in theassociated network license manager options file takeeffect after a 15-minute delay.

lmstat

Display the status of all network licensingactivities.

lmswitchr

Switch to another report log file.

lmver

Determine the version of a library or binaryfile.

Acknowledgments

This topic lists the copyright owners of content used in the network licensemanager vendor daemon.

MD5

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

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

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

RSA Data Security, Inc. makes no representations concerning either themerchantability of this software or the suitability of this software for anyparticular purpose. It is provided "as is" without express or implied warrantyof any kind.

These notices must be retained in any copies of any part of thisdocumentation and/or software.

Related Topics

  • Start Network License Manager
  • Update Network License
Monitor Network License Manager
- MATLAB & Simulink (2024)
Top Articles
Latest Posts
Article information

Author: Manual Maggio

Last Updated:

Views: 6200

Rating: 4.9 / 5 (69 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Manual Maggio

Birthday: 1998-01-20

Address: 359 Kelvin Stream, Lake Eldonview, MT 33517-1242

Phone: +577037762465

Job: Product Hospitality Supervisor

Hobby: Gardening, Web surfing, Video gaming, Amateur radio, Flag Football, Reading, Table tennis

Introduction: My name is Manual Maggio, I am a thankful, tender, adventurous, delightful, fantastic, proud, graceful person who loves writing and wants to share my knowledge and understanding with you.