pythonflexlm

Log flexlm licence usage from remote machine


We have several software packages (SolidWorks, Pro/ENGINEER, OrCAD, Minitab... ) that use FlexLM to manage network licences.

I have written a python program to poll the FlexLM daemons every few mintues using lmutil lmstat -a.

However, this requires lmutil to be installed on the same machine as the python program.

Our FlexLM licence daemons are on several servers so does anyone know how to connect to a FlexLM server over its port to ask for its licence usage state?


Solution

  • It seems the only way to get licence usage over a network is to poll the flexlm daemon using:

    lmutil lmstat -a -c <port-number@license-server>
    

    I've not marked orenhg's repsonse as an answer as it is advertising his product rather than answering the question.