scitools.com

← All und commands

und is the command-line interface to Understand — script project creation, analysis, CodeCheck, metrics, and reports, locally or in CI.

und license

gives various license information

This command prints the current license information, including the installed INI and environment license codes (the active one is marked) and the enabled license options. With one of the options below it configures or queries the license instead. The options are also accepted without the license command, as in earlier versions (und -setlicensecode CODE).

Optional arguments

OptionDescription
-enabledoptionsoffHide the list of enabled license options (shown by default).

Setting your license

und license -setlicenseserver licensing.scitools.com
und license -setlicensecode XXXXXXXXXXXXXXXX
OptionDescription
-setlicensecode codeSave and activate the given license code with the license server.
-setlicenseserver serverSet the license server to use (host or URL).
-deregisterlicensecodeRelease this machine's license seat on the server, freeing a concurrent seat.
-refreshlicenseForce a fresh validation of the license against the server.

Checking your license

OptionDescription
-isundlicensedPrint 1 if Understand is licensed, 0 if not (useful in scripts).
-licensehowmanydaysPrint how many days remain on the current license.

Offline activation

Machines without network access to the license server can be activated offline. Generate a request code, send it to SciTools, and install the reply code you receive back.

OptionDescription
-enterofflinemodeSwitch this install into offline licensing mode.
-enteronlinemodeSwitch this install back into online licensing mode.
-createofflinerequestcodeGenerate and display the offline activation request code to send to SciTools (-showofflinerequestcode displays it again, -newofflinerequestcode generates a fresh one).
-setofflinereplycode codeInstall the offline reply code received from SciTools. Provide its expiration with -expiration <yyyyMMdd> (and -maintenance <yyyyMMdd> for perpetual licenses).
-showofflinereturncodeDisplay the offline return code so the seat can be returned to SciTools.

Node-locked licenses

OptionDescription
-createnodelockrequestcodeGenerate this machine's node-locked-license request code (-shownodelockrequestcode displays it without regenerating).
-setnodelockreplycode codeInstall the node-lock reply code from SciTools. Provide its expiration with -expiration <yyyyMMdd> (and -maintenance <yyyyMMdd> for perpetual licenses).
-shownodelockreturncodeDisplay the node-lock return code so the license can be returned.