Skip to main content
Solved

Issue querying licenses in use

  • February 5, 2021
  • 1 reply
  • 33 views

Hi :

 

We are trying to use the fmelicensingassistant_cmd utility to check for FME Desktop license counts prior to running some of our scripts that launches (fme.exe). Without doing this pre step, we end up triggering a very unfriendly error when no licenses are available, and users would think the system is broken.

 

From my testing so far, it seems the utility is always returning 1 more license being used than actuals. (as compared to running the LMTOOLS on the licensing server) And, if all licenses are actually in use, the utility will take roughly a minute to respond, at which point it will still, report that all licenses are in use. Neither is desirable and this behavior prevents us from actually determining available licenses. Is there anything I am doing wrong?

 

By the way the specific license type we are looking at is the Smallworld license.

This is the command I'm running:

fmelicensingassistant_cmd.exe --query <servername>:27000

 

Any help appreciated!

 

Best answer by hkingsbury

We run a similar process as a .bat script

@echo off
 
echo Start Report
 
echo FME License
echo FME Licence > "<some file>.txt"
echo ############## >> "<some file>.txt"
 
lmutil.exe lmstat -c @<server> -a >>  "<some file>.txt"
 
echo Finished >>  "<some file>.txt"
 
echo Finished
 
notepad.exe "<some file>.txt"
 
@echo on

 

 

View original
Did this help you find an answer to your question?

1 reply

hkingsbury
Celebrity
Forum|alt.badge.img+55
  • Celebrity
  • Best Answer
  • February 8, 2021

We run a similar process as a .bat script

@echo off
 
echo Start Report
 
echo FME License
echo FME Licence > "<some file>.txt"
echo ############## >> "<some file>.txt"
 
lmutil.exe lmstat -c @<server> -a >>  "<some file>.txt"
 
echo Finished >>  "<some file>.txt"
 
echo Finished
 
notepad.exe "<some file>.txt"
 
@echo on

 

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings