Skip to main content

I need to develop a .NET app to execute somo FME workspaces with FME Desktop.

Before doing that, I would like to check if there is a license available (there are only two floating license).

 

Is there a way of achieving that? I could assume that if the process doesn't start is due to license problems, but I was wondering if there is a better way.

 

Thanks for any help provided.

There's some command line tools that come with FlexLM, see Monitoring Floating License Use for some instructions.


There's some command line tools that come with FlexLM, see Monitoring Floating License Use for some instructions.

Thanks. But, if I understand correctly, those commands can only be run in the same server where FlexLM is installed.


Thanks. But, if I understand correctly, those commands can only be run in the same server where FlexLM is installed.

By the looks of it, yes. Unless there is some way to do it remotely. Unfortunately the FlexLM documentation seems to be pretty fragmented. Every time I google for things I get hits on a lot of pages by vendors using FlexLM, like Safe, but not a lot of "official" docs.


There's some command line tools that come with FlexLM, see Monitoring Floating License Use for some instructions.

You can do this from another computer.

In my case, I created a file c:\settings\safe.lic file with the following contents:

SERVER Name_of_my_License_Server Any

Next I installed lmutil

Now I can test the currently used licenses from PowerShell, with one simple command:

& "c:\Program Files\FlexServer\lmutil.exe" lmstat -f FME -c c:\settings\safe.lic

This gives several lines of output, including the line:

Users of FME:  (Total of 2 licenses issued;  Total of 1 license in use)

 


You can do this from another computer.

In my case, I created a file c:\settings\safe.lic file with the following contents:

SERVER Name_of_my_License_Server Any

Next I installed lmutil

Now I can test the currently used licenses from PowerShell, with one simple command:

& "c:\Program Files\FlexServer\lmutil.exe" lmstat -f FME -c c:\settings\safe.lic

This gives several lines of output, including the line:

Users of FME:  (Total of 2 licenses issued;  Total of 1 license in use)

 

Thanks! That works.


You can do this from another computer.

In my case, I created a file c:\settings\safe.lic file with the following contents:

SERVER Name_of_my_License_Server Any

Next I installed lmutil

Now I can test the currently used licenses from PowerShell, with one simple command:

& "c:\Program Files\FlexServer\lmutil.exe" lmstat -f FME -c c:\settings\safe.lic

This gives several lines of output, including the line:

Users of FME:  (Total of 2 licenses issued;  Total of 1 license in use)

 

You're welcome, thanks for the feedback :)


Reply