QTP license usage

Question ID: 104737

Hi. Is there any way to get a list of license usage for our QuickTest Pro users? I want to see if we are getting close to our maximum cap, etc.


Marked as spam
Posted by (Questions: 175, Answers: 22)
Asked on December 6, 2012 9:35 am
Answers (1)
Private answer

1. Add/modify the following environment variable to enable logging with the License Server. All of the folloiwng is done on the actually license server machine, and not the client, of course.

**LSERVOPTS= -l c:templicense_usage.log -z -2m**

(you can change the directory of the license file if you wish. The 2m limits the size of the file to 2MB, but can be modified)

2. You can export the log once it is enabled, to a CSV file. From a command prompt, navigate to the Utils folder of the license server and run the following command:

**lsusage.exe -l C:templicense_usage.log -c C:QTP_License_Usage.csv**

3. You can then import this CSV file into Excel.

You can find detailed information about the command line switches and what the different License Server environment variables do, but this is a quick summary to get you going.

Marked as spam
Posted by (Questions: 2, Answers: 425)
Answered on December 6, 2012 9:38 am