Peak usage of network licenses

Technical Note 93689



10/23/2015 1:58 PM


This Technical Note applies to IAR System products that uses License Management System version 2 (LMS2).

Applies to versions

This Technical Note covers these product(s) with the mentioned versions (or later).

Product Version Product Version Product Version Product Version
8051 8.11 V850 3.81 RL78 1.20 RX 2.40
430 5.51 R32C 1.40 78K 4.80 ARM 6.50
AVR 6.20 STM8 1.40 RH850 1.10 CR16C 3.20
M16C 3.60 AVR32 4.20 SH 2.30 visualSTATE  7.2
HCS12 4.10            

Wanted information

There is a need to determine the peak usage for a license component for a given time period from the log file. This can help determine license usage efficiency. This tech note assumes the user is familiar with generating a log file on the server. If not, please refer to the license guide in your installation directory common\doc\ folder.


Once you have obtained the logfile.txt from the server, you are going to want to open this in Microsoft Excel. When you first open the log file, Excel will start the text import wizard. You will want to select the delimited file type to import your log file. This will allow you to separate the columns using spaces. Make sure to check “spaces” on the second screen of the import wizard. After opening the log file in excel, you will notice that column “A” contains either a “2” or “#”. Any row that contains a “#” indicates a server startup/shutdown and must be deleted from the file. After this, you will want to organize column “J” alphabetically. This will organize the file in its respective components, thereby allowing you to graph relevant components. The last step is to graph the data. The column that contains the pertinent data to graph is column “M”. This is the Numkeys field and tells you the total number of licenses that are checked out anytime a license is released or acquired. It is recommended to use Numkeys as your dependent axis. A typical use case might be to determine the max value of M for a given day and graph it against a week. This could help to determine which days of the week you are close to using the maximum number of available licenses.

See Images from the Excel Import Wizard.pdf.

All product names are trademarks or registered trademarks of their respective owners.


© IAR Systems 1995-2017 - All rights reserved.