License Server Help

License Server commands reference

General usage rule:

/bin/sh /license-server-home/bin/license-server.sh command
where command can be one of the following:
CommandDescription
configure argument1 argument2
Changes the value of the specified property/parameter. Possible arguments: --property name=property value
-f <properties file path>
Reads the properties from the specified file and applies its values
-J<JVM option>
Adds the specified JVM option to the JetBrains License Service JVM options list, see additional comments in the "conf/license-server.jvmoptions" file. Use --J<JVM option> options to specify the ad-hoc JVM options. Use --launcher option to configure the launcher only and not pass the specified properties to JetBrains License Service.
start
Starts JetBrains License Service in background
start soft
Starts JetBrains License Service in background softly (timeout is not applied in this case)
run
Runs JetBrains License Service in the current console
status
Prints JetBrains License Service status (exits with code 0 if JetBrains License Service is alive, 1 otherwise)
status short
Prints short and parsable JetBrains License Service status (exits with code 0 if JetBrains License Service is alive, 1 otherwise)
stop
Shuts JetBrains License Service down
stop soft
Shuts JetBrains License Service down softly (timeout is not applied in this case)
restart
Restarts JetBrains License Service in background
restart soft
Restarts JetBrains License Service in background using soft shutdown and soft start (wait till the application quits gracefully and start)
rerun
Reruns JetBrains License Service in the current console
rerun soft
Reruns JetBrains License Service in the current console using soft shutdown
dump threads
Dumps JetBrains License Service threads
dump threads to-file
Dumps JetBrains License Service threads to the file under the logs directory
dump threads to-file short
Same as "dump threads to-file", but prints to the console nothing but the absolute path of the created file
dump heap
Dumps JetBrains License Service heap to the file under the logs directory
dump heap short
Same as "dump heap", but prints to the console nothing but the absolute path of the created file
kill
Kills JetBrains License Service process
java print
Finds Java executable according to the JetBrains License Service settings and prints it to the console. You can use it to check what Java version is used if there are more than one on the server.
java set <path to Java home or executable>
Sets the specified Java to be explicitly used by JetBrains License Service if it has proper version and attributes
java reset
Resets the explicitly set Java path for JetBrains License Service
help
Prints usage text
help _command-name
Prints usage text for the specified command

Last modified: 7 September 2018