Skip to main content
search
Dassault Systèmes

Running DSLS in Command Line Mode

By November 24, 2009July 11th, 2023No Comments

Abstract

There are times when having command line access to the Dassault Systèmes License Service (DSLS) would come in handy, operating from a headless Linux machine or wanting better reporting. This article will provide an overview of operating DSLS from a simple command line interface.

Warning: Anything that can be done through the graphical interface can be done through the command line interface, too. This includes harmful actions like modifying or deleting a license server. Please proceed with caution.

There are times when using a graphical user interface or GUI is not an option or more clumsy than a text-based command line interface. For instance, the Dassault Systèmes License Server or DSLS is supported on the Linux operating system. Linux servers, especially Red Hat servers, are running in many data centers and many of those servers are run headless, meaning there is no GUI available to run server applications, only a terminal or command line interface. For DSLS, this is not an issue.

As a reminder, the DSLS graphical interface is well known and shown below.

This interface is usually started from an icon or a program or desktop application, etc. The command behind the icon is: DSLicSrv -adminUI

In order to start DSLS in command line mode, open a command prompt and change directory to the location shown below.

Enter the command shown below to start DSLS in command line mode.

Next, connect to the license service as shown below. If there is a password to connect, enter it, too.

A very useful command is the getLicenseInfo or GLI command. If a license inventory is requested, the customary way to provide this information is to use screenshots of the DSLS user interface. However, if there are many licenses or roles, multiple screenshots will be necessary and the result cannot be sorted or filtered. The license inventory can be dumped, in CSV format, using the GLI command as shown below. Note the use of the double arrows >> to pipe the output to a file.

The result is a CSV file that can be sent and open in Excel making the information much more useful to the reader, see output below.

This article does not provide all the things that can be done using the command line interface but will help to orient the DSLS admin who can reference the documentation or issue the command Help command to list out all the options.

For more information contact us.

Close Menu