From 9b97e542b65791c5503dd8940efada50bda7b867 Mon Sep 17 00:00:00 2001 From: Jan Siwiec <jan.siwiec@vsb.cz> Date: Mon, 8 Feb 2021 09:21:06 +0100 Subject: [PATCH] updated section license usage check via command line --- docs.it4i/software/isv_licenses.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/docs.it4i/software/isv_licenses.md b/docs.it4i/software/isv_licenses.md index e1f46514b..28241d491 100644 --- a/docs.it4i/software/isv_licenses.md +++ b/docs.it4i/software/isv_licenses.md @@ -17,6 +17,34 @@ If an ISV application was purchased for educational (research) purposes and also For each license, there is a [table][a] providing the information about the name, number of available (purchased/licensed), number of used and number of free license features. +### Command Line + +To check license usage via command line, use the `LicenseChecker` module with the `lmstat` utility: + +```console +ml LicenseChecker/1.0 +``` + +For example, to check usage of Ansys licenses, use: + +```console +lmstat -a -c 1055@license.it4i.cz +``` + +or for a specific module (e.g. HPC): + +```console +lmstat -f aa_r_hpc -c 1055@license.it4i.cz +``` + +To list all Ansys modules, use: + +```console +lmstat -i -c 1055@license.it4i.cz +``` + +For other applications' licenses, change the port number in the command according to the **Port** column in [this list][b]. + ## License Aware Job Scheduling Salomon and Barbora clusters provide license aware job scheduling. @@ -51,3 +79,4 @@ The license is used and accounted only with the real usage of the product. So in [1]: #Licence [a]: https://extranet.it4i.cz/rsweb/barbora/licenses +[b]: http://licelin.it4i.cz/list/ \ No newline at end of file -- GitLab