Altair license utility automation
Hi all. Is there a way to export list of available licenses from Altair license utility using TCL or python? I just want to know licenses used and available. Any other way method, other than license utility, is also OK for me. But it be using code so that I may automate it.
Regards,
Rachit
Best Answer
-
Adriano A. Koga_21884 said:
Not 100% what you need but you can execute the almutil.exe with a few arguments such as -licstat -inuse to retrieve a list of currently used licenses.
This will give you back the used licenses, then you can parse this data using python or something.
by the way, the altair licensing help documentation should point you to the valid arguments for that.
Or like I did, I've just executed the almutil.exe in batch and it already gave me the basic options.
0
Answers
-
Not 100% what you need but you can execute the almutil.exe with a few arguments such as -licstat -inuse to retrieve a list of currently used licenses.
This will give you back the used licenses, then you can parse this data using python or something.
0 -
Adriano A. Koga_21884 said:
Not 100% what you need but you can execute the almutil.exe with a few arguments such as -licstat -inuse to retrieve a list of currently used licenses.
This will give you back the used licenses, then you can parse this data using python or something.
by the way, the altair licensing help documentation should point you to the valid arguments for that.
Or like I did, I've just executed the almutil.exe in batch and it already gave me the basic options.
0 -
Adriano A. Koga_21884 said:
by the way, the altair licensing help documentation should point you to the valid arguments for that.
Or like I did, I've just executed the almutil.exe in batch and it already gave me the basic options.
Thanks Adriano for help. I am new to python coding. May you please tell me or hint me that how may I parse the cmd output or export the licstat xml file to a desired location?
Regards,
Rachit
0 -
Adriano A. Koga_21884 said:
by the way, the altair licensing help documentation should point you to the valid arguments for that.
Or like I did, I've just executed the almutil.exe in batch and it already gave me the basic options.
Hi Adriano. Is it possible to parse cmd screen output or print it to a text file? How it may be done?
Regards,
Rachit
0 -
Adriano A. Koga_21884 said:
by the way, the altair licensing help documentation should point you to the valid arguments for that.
Or like I did, I've just executed the almutil.exe in batch and it already gave me the basic options.
Hi. Thanks for your support. I have found the command to export he output to a txt file. Here is the link I used:
https://www.windowscentral.com/how-save-command-output-file-using-command-prompt-or-powershell
Regards,
Rachit
0