Monitoring the currently held licenses
onstat -g lic option is used to print out the current status of the licensing system
HCL OneDB Server Version 1.0.1.0 -- On-Line -- Up 00:13:21 -- 322188 Kbytes
2021-05-27 11:54:17
FlexNet DeviceID: ifxprod:005056850DFE:224
Licence count: 6
HID_CPU : holding 6 : available 19
HID_CPU_HA : holding 0 : available 19
Available license counts are as of 2021-05-27 11:27:19
Expected license expire time: 2021-06-24 11:27:19
The FlexNet DeviceID can be mapped to the device allocations in the FNO portal.
Note: There can be some delay in the update of the portal when licenses are acquired or
released.
If the instance is in the warning state, unable to acquire the necessary licenses,
then the projected shutdown time will be indicated. The onstat -g lic output is also included
in the alert message from the ALARMPROGRAM script