FLM (flmprg) options

The flmprg command line tool is used to install, upgrade, or delete Genero licenses. There are also options that apply specifically to Windows®, and options to provide various types of license information and statistics.

Syntax

flmprg [options]
  1. General command options are described in Table 1.
  2. Options for use on Windows only are described in Table 2

flmprg Options

Table 1. General command options
Option Description
-l [ license_num ]
Installs a license (requires license number and license key).
Note: To escape at any stage, type "stop" at the prompt.
-m license_num

Install the maintenance key for the specified license.

--install-license-string license-string [ --auto ]

Install a license or update an installed license using the provided license string.

If --auto is provided, HTTP licensing is used (Internet connection is required).

-v or -V Shows license manager version information.
-u host or -u all

Checks active users working on a given host.

-u all checks users on all machines.

-r

Runs the license server daemon.

-s

Stops the license server daemon.

-d license_num
Deletes the specified license.
Important: For security reasons, you cannot remotely add or remove licenses registered on Four Js License Manager (FLM) with a local license controller command, for example, fglWrt.
-h

Display help for the license manager command.

-i license_num or -i all
Clears the list of registered user sessions for a given license.
Warning: All active users will be disconnected.

Use -i all to clear lists for all licenses.

-a option
Check or view various license information, possible options are shown in the table.
Option Description
env Shows current environment.
hostname Shows name of the host machine.
info license Shows license information.
info stat Shows statistics for license manager server.
info users Shows all registered active users.
info up Checks if the FLM is started.
--kill-session host [:pid] Kills all sessions owned by the specified host, if pid is provided, only the specified session is cleared.
--decode-license-string license-string Decode a license string and write the license string information to the standard out.
--encode-license-string [ license_num ] [license_key] [ maintenance_key ] [login ] Encode license information into a license string that is written to the standard out. See Encode a license string.
Table 2. Windows only command options
Option Description
--service-install

Installs the service and exits.

--service-start or -r

Starts the service.

--service-stop

Stops the service.

--service-uninstall

Uninstalls the service and exits.

--configuration-reload

Reloads the configuration file.