*
*Home|Chinese|Japanese*About ARM|Forums|Events|News|Employment|Contact Us|Investors*
dotted rule
*ARM - the architecture for the digital worldARM - the architecture for the digital world
search
*
*
***
*MARKETS:PRODUCTS & SOLUTIONS:CONNECTED COMMUNITY:TECHNICAL SUPPORT:DOCUMENTATION*
*
technical support
*
*
****
*.Technical Support
*
*
*>>Home Page*
*
*.Obtaining Support*
*
*.FAQs*
*
**Development Tool FAQs*
**IP FAQs*
**Embedded Software FAQs*
**Artisan Physical IP FAQs (Login Required)*
*
*.Downloads*
*
*.Documentation*
*
*.Training*
*
*.Where To Buy*
*
*.Keil MCU Tools*
*
*.What's New*
*
*.ARM Newsgroups*
*
*.Active Assist On-site Services*
*
*
*
technical support FAQsask ARM*
*

Technical Support Search
*     (Advanced Search)
  FAQs   Documentation   Downloads   Forums

*

 
downarrowHow can I tell how many licenses are in use?
Applies to: ARM Developer Suite (ADS), RealView Developer Suite (RVDS) 2.0, RealView Developer Suite (RVDS) 2.1, RealView Developer Suite (RVDS) 2.2, RealView Development Suite (RVDS) 3.0, RealView Development Suite (RVDS) 3.1, RealView Development Suite (RVDS) 3.1 Professional, Tool Licensing (License Management)

To find out how many floating license seats are in use at a given point of time, you should run the command

lmutil lmstat -a

on the server. Note that the license server log is not intended to be used for usage reporting, and this is stated in the log header text.

The output from the lmstat utility will look similar to this:

C:\Flexlm>lmutil lmstat -a
lmutil - Copyright (c) 1989-2003 by Macrovision Corporation. All rights reserved.
Flexible License Manager status on Thu 1/1/2005 13:50

[Detecting lmgrd processes...]
License server status: 8224@myserver
    License file(s) on myserver C:\Licenses\mylicensefile.txt:

    myserver: license server UP (MASTER) v9.2

Vendor daemon status (on myserver):

    armlmd: UP v9.2

Feature usage info:

Users of rvd_arm:  (Total of 10 licenses issued;  Total of 1 license in use)

  "rvd_arm" v1.8, vendor: armlmd
  floating license

    ngnere clientpc CLIENTPC (v1.8) (myserver/8224 301), start Thu 1/1 14:01

Users of rvd_rtos:  (Total of 10 licenses issued;  Total of 0 licenses in use)

Users of rvd_trace:  (Total of 10 licenses issued;  Total of 0 licenses in use)

<etc>

In this example, at the time the time the command was run, there were 10 seats in total for the rvd_arm feature and one of these was being used by the user "ngnere" on the computer "clientpc".  This leaves 9 seats free. 

By writing an appropriate script, you can run the lmutil lmstat -a command on a regular basis and then analyse the output using a text parser, so that the number of users of a particular FEATURE or INCREMENT line over a period of time can be determined.  You will need to decide how frequently you take a license usage snapshot and balance that against how much CPU time is needed to collect those data.

An example script of how this can be done is available for download below. It should be noted that this example is provided "as is", and is supplied without support. You should also note the limitations of this script, as noted in the included readme file.

For more information on license administration tools, see Chapter 7 of the FLEXnet End User Guide (enduser.pdf), which is available on your RealView Development Suite CD-ROM or from the following page of our website:

http://www.arm.com/support/licensemanagement.html

Downloads:

   Zip file icon lmstat Parser (example script)





back to top

*
**
*4 dots*Other ARM Websites
*
shadow *LEGAL STATEMENTshadow