Monitoring the currently held licenses

onstat -g lic option is used to print out the current status of the licensing system

Example of onstat -g lic output when license expires in less than 90 days or has already expired


HCL Informix Dynamic Server Version 15.0.1.0 -- On-Line -- Up 00:08:21 -- 183484 Kbytes
2025-12-18 14:07:31 -- Infrastructure Version: 1 
Expected license expire time: 2025-12-20 23:59:59
Expected shutdown time: 2026-01-19 23:59:59

Expected output when license is not within 30 days

HCL Informix Dynamic Server Version 15.0.1.0 -- On-Line -- Up 00:11:38 -- 183484 Kbytes
2025-12-18 14:10:48 -- Infrastructure Version: 1 
Expected license expire time: 2026-10-11 00:59:59
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