Solved

Issue querying licenses in use

  • 5 February 2021
  • 1 reply
  • 1 view

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!

 

icon

Best answer by hkingsbury 8 February 2021, 20:58

View original

1 reply

Userlevel 5
Badge +29

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

 

 

Reply