Question Shanshan Yu · Jan 26, 2021 How to get the license usage through SQL or global #Ensemble How to get the license usage through SQL or global? 1 0 202
Marcel den Ouden · Jan 27, 2021 You can get license info through the $SYSTEM.License APIs: Set currentLicenses = $SYSTEM.License.LUConsumed() Set maxLicenses = $SYSTEM.License.LUMaxConsumed() See: https://docs.intersystems.com/irislatest/csp/documatic/%25CSP.Documatic.... Shanshan Yu · Jan 27, 2021 But I want to get the license info of another IP studio from my own studio through code JIAQI2021 MA · Jan 28, 2021 I've come across similar problems and I'm looking forward to answering them Robert Hurst · Jan 28, 2021 There's a plethora of ways to get license information, as Marcel pointed out, through $SYSTEM.License. The online class reference show the methods and queries, with sample code, available to invoke: https://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls?... From a command-line (list instance name(s) running, i.e., CACHE) that can be setup to run as a secure remote procedure call; or what we do is have scripts that feed back this data to our Nagios monitor for hosts/instances: $ ccontrol all$ ccontrol stat CACHE -a0 -L1 Hope this helps.
Shanshan Yu · Jan 27, 2021 But I want to get the license info of another IP studio from my own studio through code JIAQI2021 MA · Jan 28, 2021 I've come across similar problems and I'm looking forward to answering them Robert Hurst · Jan 28, 2021 There's a plethora of ways to get license information, as Marcel pointed out, through $SYSTEM.License. The online class reference show the methods and queries, with sample code, available to invoke: https://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls?... From a command-line (list instance name(s) running, i.e., CACHE) that can be setup to run as a secure remote procedure call; or what we do is have scripts that feed back this data to our Nagios monitor for hosts/instances: $ ccontrol all$ ccontrol stat CACHE -a0 -L1 Hope this helps.
JIAQI2021 MA · Jan 28, 2021 I've come across similar problems and I'm looking forward to answering them Robert Hurst · Jan 28, 2021 There's a plethora of ways to get license information, as Marcel pointed out, through $SYSTEM.License. The online class reference show the methods and queries, with sample code, available to invoke: https://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls?... From a command-line (list instance name(s) running, i.e., CACHE) that can be setup to run as a secure remote procedure call; or what we do is have scripts that feed back this data to our Nagios monitor for hosts/instances: $ ccontrol all$ ccontrol stat CACHE -a0 -L1 Hope this helps.
Robert Hurst · Jan 28, 2021 There's a plethora of ways to get license information, as Marcel pointed out, through $SYSTEM.License. The online class reference show the methods and queries, with sample code, available to invoke: https://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls?... From a command-line (list instance name(s) running, i.e., CACHE) that can be setup to run as a secure remote procedure call; or what we do is have scripts that feed back this data to our Nagios monitor for hosts/instances: $ ccontrol all$ ccontrol stat CACHE -a0 -L1 Hope this helps.
You can get license info through the $SYSTEM.License APIs:
See:
https://docs.intersystems.com/irislatest/csp/documatic/%25CSP.Documatic....
But I want to get the license info of another IP studio from my own studio through code
I've come across similar problems and I'm looking forward to answering them
There's a plethora of ways to get license information, as Marcel pointed out, through $SYSTEM.License. The online class reference show the methods and queries, with sample code, available to invoke: https://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls?...
From a command-line (list instance name(s) running, i.e., CACHE) that can be setup to run as a secure remote procedure call; or what we do is have scripts that feed back this data to our Nagios monitor for hosts/instances:
Hope this helps.