Skip to main content
Best Answer

Issue querying licenses in use

  • February 5, 2021
  • 1 reply
  • 40 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

 

 

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

hkingsbury
Celebrity
Forum|alt.badge.img+67
  • 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