Skip to main content

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


Technote (FAQ)


Question

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

Cause

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

Answer

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

  1. Open the Environment Variables window

    Note:
    * 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
l_server_temp.dat:

 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

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Rational License Key Server

Command Line Tools


Software version:
All Versions


Operating system(s):
Windows


Reference #:
1620151


Modified date:
2013-01-28

Translate my page

Content navigation