| |||
| Home > Frequently Asked Questions about Licensing > Problems with server configuration > How can I tell how many floating licenses are in use? | |||
To find out how many floating license seats are in use at
a given point in time, you should run the lmutil lmstat command,
with appropriate arguments, on the server. The license server log
is not suitable for the purpose of usage analysis, as at high server loading
or with certain types of license file configuration, you may get
incomplete or misleading results.
The lmutil lmstat command can generate
text output which will indicate which user is using what version
of a license component, and when the license was granted. By selecting
the appropriate arguments, such as -i for information
from the FEATURE/INCREMENT line for the specified feature, or -a for
all information, you can collect snapshot information of your license
usage. You can then run the output through a text parser if you
wish to analyze the data in more detail. Further information on
the lmutil lmstat command can be found in the FLEXlm
End Users Guide, which is supplied as a PDF with your
ARM development tools.
You should be aware that there is a trade-off between increased temporal resolution of your usage data and server loading, especially if you have a high turnover licensing environment. The lmutil lmstat command can consume a significant fraction of your server’s CPU resource, especially if the -a switch is used. At very high loadings (>1000 checkouts/minute) the resulting data are known to be inaccurate simply because not all transactions can be recorded during the data collection period.