9.2 armlmdiag utility

The armlmdiag utility has options to perform basic licensing operations and print useful debugging information.

Syntax

armlmdiag --feature name --version N.n [option]

Where:

--feature name, -f name

Is the name of the feature.

--version N.n, -v N.n

Is the version number of the feature.

option

Is any of the following:

--location location, -L location

Location of the license file, in the format port@host or path.

This option is not required if you set the ARMLMD_LICENSE_FILE environment variable.

--count n, -c n

Number of licenses to checkout.

--delay seconds, -d seconds

Number of seconds to delay the checkout.

--help, -h

Display the command help.

--linger seconds, -l seconds

The time in seconds that a license is to remain checked out.

--queue, -q

Wait until the license becomes available.

Example 9-1 Examples

  • To check out a license from the server located at 27008@localhost:

    $ armlmdiag --location 27008@localhost --feature f1 --version 1.0
    [14:34:06] … Checking out f1 (1 licenses).
    [14:34:06] … Checkout done.
    Feature Information
    -------------------
    Line Type:              INCREMENT
    Feature:                f1
    Version:                1.0
    Expiry date:            permanent
    Max number of users:    10
    Issuer:                 ARM Limited
    Notice:                 For support see http://www.arm.com/support/
    Serial Number:          20987-98444-00000
    [14:34:06] … Exiting, all licenses will be checked in.
    
  • To check out five licenses from the server located at 27008@localhost:

    $ armlmdiag -L 27008@localhost -f f1 -v 1.0 --count 5
    …
    
  • To check out five licenses from the server located at 27008@localhost and hold them for one minute:

    $ armlmdiag -L 27008@localhost -f f1 -v 1.0 –c 5 --delay 60
    …
    
  • To check out a license from the license file /home/user/license.dat:

    $ armlmdiag -L /home/user/license.dat -f f1 -v 1.0
    …
    
  • To set the ARMLMD_LICENSE_FILE environment variable to specify the license location, instead of using --location:

    • On Linux:

      $ export ARMLMD_LICENSE_FILE=27010@localhost
      $ armlmdiag -f f1 -v 3.0
      …
      
    • On Windows:

      > set ARMLMD_LICENSE_FILE=27010@localhost
      > armlmdiag -f f1 -v 3.0
      …
      
Non-ConfidentialPDF file icon PDF versionARM DUI0577O
Copyright © 2011-2016 ARM Limited or its affiliates. All rights reserved.