lmpath
The lmpath utility allows direct control over license search path settings. It is used to add to, override, or get the current license search path settings.
Usage
lmpath {-add | -override | -status} {vendor | all} license_file_list
where:
Argument |
Description |
||||||
-add |
Prepends license_file_list to the current license search path or creates the license search path, if it doesn’t exist, initializing it to license_file_list. Duplicates are discarded. |
||||||
-override |
Overrides the existing license search path with license_file_list. If license_file_list is the null string, "", the specified list is deleted.
|
||||||
-status |
Displays current license search path settings. |
||||||
vendor |
A vendor daemon name. Affects the value of VENDOR_LICENSE_FILE. |
||||||
all |
Refers to all vendor daemons. Affects the value of LM_LICENSE_FILE. |
||||||
license_file_list |
On UNIX, separate values with a colon. On Windows, separate values with a semicolon. If license_file_list is the null string, " ", then the specified entry is deleted. |
lmpath accesses the license search path from the following location:
• | Windows registry: HKEY_CURRENT_USER\Software\FLEXlm License Manager |
• | UNIX file path: $HOME/.flexlmrc |
To display the current license search path settings:
Use the following command:
lmpath -status
The following is displayed:
lmpath - Copyright (c) 1989-2021 Flexera Software LLC.
Known Vendors:
_____________
demo: ./counted.lic:./uncounted.lic
_____________
Other Vendors:
______________
/usr/local/flexlm/licenses/license.lic
Note that where the path is set to a directory, all the *.lic files are listed separately.