Is there a way for licenses to be monitored from the client machine instead of the server?
94 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
MathWorks Support Team
il 23 Mar 2011
Modificato: MathWorks Support Team
il 14 Mar 2025
I would like to check on license usage for MATLAB from a machine that doesn't have the network license manager on it.
Risposta accettata
MathWorks Support Team
il 14 Mar 2025
Modificato: MathWorks Support Team
il 14 Mar 2025
It is possible to monitor licenses on a license server from a MATLAB client. As of R2009b, the necessary files are located in $MATLAB/etc/$ARCH (where $MATLAB is the MATLAB installation directory, and $ARCH is the directory specific to the architecture of the system. Choices include win32, win64, gnlx86, glnxa64, maci, maci64, maca64 sol64). For releases older than R2009b on Linux/Unix/Mac, you will need to manually copy the network license manager folder from an installation that includes the license manager.
On Windows, "lmutil.exe" can be used to monitor licenses through command prompt. This file can be found in $MATLAB\etc\win32 (or win64 for 64-bit installations). From the directory where lmutil is located, execute the following:
lmutil lmstat -a -c port@host
Where "port@host" is the port number of the license manager daemon, and hostname (or IP address) of the license server. This information can be found on the SERVER line of the license file. For example: 27000@test.u.edu. Alternately, you can give the path to the license file containing the server information as follows:
lmutil lmstat -a -c "path/to/license/file"
On Mac/Linux/Unix, run the following command from the MATLAB/etc/$ARCH directory in a terminal window:
./lmstat -c port@host -a
For R2009b to R2020a, lmutil will be located in the $MATLAB/etc/$ARCH directory and can be used in the same way that it is on Windows.
As of R2020a, the "etc" folder is no longer included with the installation of MATLAB. Therefore you can manually create it by
, then making an "etc" folder.
Or you may
The last option would be to create a network share for the license manager log file. On Windows, the location of the log file is specified in the "Config Services" tab of lmtools.exe, by default called debug.log and located in "C:\ProgramData\FLEXlm\lmgrd\debug.log". On Linux/Mac/Solaris, by default the logfile will be located in /var/tmp/ and will be called lm_TMW.log.
1 Commento
Pankaj
il 23 Apr 2015
I am usin R2014a and I didn't find lmutil.exe at $MATLAB/bin/$ARCH, I found it at $MATLAB/etc/$ARCH
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Manage Products in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!