OpenLM supports a wide variety of license managers for license statistics and the extraction of license usage reports. Among these license managers are Flexera Flexnet, DSLS, IBM LUM, LM-X, Sentinel RMS, and Sentinel HASP. During the development of OpenLMโs interface to Dassault Systemesโ proprietary license manager: DSLS, we needed to extract DSLS information using command lines.
The following is an account of the commands used in this process, and examples for commandsโ output.ย The logs are typed in a manner that would fit this page, and are edited to be non-personalized.
Command:
DSLicSrv -admin [-I inputFile] [-t OutputFile]
Employ the DSLS license administrator tool in command line mode.
- Optionally redirect the output to OutputFile
- Optionally run the license administrator commands from a command file.
Outcome:
The DSLS administrator tool was employed in command line mode. The admin> prompt appeared.
Command:
connect <HostName> <port>
Connect the administration tool to a license server <HostName> on a specific port <port>.
Outcome:
The following was emitted on the screen:
License Administration Tool Version 6.210.0 Built on Oct 6, 2010 10:49:19 AM.
admin >connect <HostName> 4084
Software version : 6.210.0
Build date : Oct 6, 2010 10:49:19 AM
Standalone mode Ready : yes
Server name : <HostName> ย
Server id : <ServerId>
Command:
getConfig
Get license server configuration
Outcome:
The following was emitted on the screen:
admin >getConfig
Server configuration Standalone mode
Computer name : <HostName>
Computer ID : <ServerId>
Licensing port : 4085
Administration port 4084
Password protected : no
Remote administration enabled : no
License usage statistics enabled : no
Command:
getLicenseInfo
Get license information
Outcome:
The following was emitted on the screen:
admin >getLicenseInfo
Status active
Editor Dassault Systemes
Model ConcurrentUser
Feature <Feature name>
Quantity 50
StartDate 2011-08-17.00:01.UTC
EndDate 2012-08-31.23:59.UTC
MaxReleaseNumber 1
MaxReleaseDate 2012-08-31.23:59.UTC
MaxUsageDuration 0
MaxUsagePeriod 0
LicenseType Floating
CommercialType STD
LicenseId <LicenseID>
RepGroupIndex 1
RepFileIndex 1
RepFileQuantity 2
ComputerId <ComputerID>
ComputerName unknown
CustomerSite <CustomerSite>
CustomerCountry USA
CustomerId <CustomerId>
GenerationDate 2011-08-18.20:20.UTC
GenCompany Dassault Systemes
GeneratorId <GeneratorId>
EditorId <EditorId> ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย ย
Command:
getLicenseUsage -all
Show current license usage
Outcome:
The following was emitted on the screen:
admin >getLicenseUsage -all
Dassault Systemes <EditorId>
// 1st Feature
<FeatureName 1> ย release : 1
type : ConcurrentUser
count : 50
inuse : 2
ย ย ย // 1st usage table:
ย ย ย consolidation : <HostName>/<HostName>
ย ย ย ย granted since : Nov 28 2011 11:38:14
ย ย ย <HostName> (<identifier>) ย <UserName> <draftsighthelper directory>
ย ย ย // 2nd usage table
ย ย ย .
ย ย ย .
ย ย ย .
// 2nd Feature โฆ
.
.
.
Command:
disconnect
Disconnect the DSLS administration tool from the license server.