How to execute the command lmutil lmstat without changing the binary location on the Rational license server machine

Technote (FAQ)


How do you execute the command "lmutil lmstat" from a command prompt without changing to the binary location?


Windows Indexing will not recognize the command until the folder is changed to the location where the binary executable is stored.


Update the system variable path on the License Server to point to the lmutil binary location.

  1. Open the Environment Variables window

    * On a Windows 32 bit OS Environment Variable can be launched using Control Panel > System > Advanced tab > Environment Variables
    * On a Windows 64 bit OS Environment Variable can be launched using Control Panel > System > Advanced system settings > Advanced tab > Environment Variables

  2. Click the Path variable under the System variables and click Edit

  3. Scroll to the beginning of the Variable value entry

  4. Add one of the following paths followed by a semi-colon
    • 32 bit path: C:\Program Files\IBM\RationalRLKS\common\
    • 64 bit path: C:\Program Files (x86)\IBM\RationalRLKS\common\

  5. Click OK and close the window

  6. Launch a command prompt
    Note: Launch with Run as administrator option on 64 bit OS

  7. Type the following command

    lmutil lmstat -a -c port@servername

This would return a Feature Usage Report similar as below showing that the command can be run without navigating to the binary directory.

C:\Windows\System32>lmutil lmstat -a -c 27000@localhost
lmutil - Copyright (c) 1989-2009 Flexera Software, Inc. All Rights Reserved.
Flexible License Manager status on Fri 1/11/2013 14:43

[Detecting lmgrd processes...]
License server status: 27000@servername
    License file(s) on servername: C:\Program Files (x86)\IBM\RationalRLKS\common
\rational_server_perm.dat:C:\Program Files (x86)\IBM\RationalRLKS\common\rationa

 servername: license server UP (MASTER) v11.10

Vendor daemon status (on servername):

   ibmratl: UP v11.10
Feature usage info:

Users of ClearCase:  (Total of 1 license issued;  Total of 0 licenses in use)

Related information

How to check license usage statistics on Rational Licen

Document information

More support for:

Rational License Key Server
Command Line Tools

Software version:

All Versions

Operating system(s):


Reference #:


Modified date:


Translate my page

Content navigation