I use the "lmutil lmstat" command to pull a report on the current usage.
i have a few batfiles that i use to check different licenses.
here are two examples :
1) will report all licenses in use ( the "-a" option)
the "> c:\temp\lic-in-use.txt " will send the report to the named text file instead of flashing by in the Command prompt window.
the "Timeout 2" is to give the lmutil a little time to finish before Windows opens the text file.
thereafter the notepad will be opened and when the notepad is closed, the text file will be deleted.
Copy the text from below, paste into notepad, edit to your license server name and install directory, save the textfile as ".bat"
Then doubleclick the batfile.
--------------------------------------------------------
C:
cd C:\siemens\NX\ugflexlm
lmutil lmstat -c 28000@yourlicenseserver -a > c:\temp\lic-in-use.txt
TIMEOUT 2
notepad c:\temp\lic-in-use.txt
del c:\temp\lic-in-use.txt
--------------------------------------------------------
2) i have another version to check who is using the simulation licenses.
this requires that you know the exact name of the license you want to check specifically, the easy way to know that is to run the script above.
then this syntax : ( NX_masterfem is an example) The rest of the script as above.
lmutil lmstat -c 28000@yourlicenseserver -f NX_masterfem > c:\temp\sim-lic-in-use.txt
Regards,
Tomas