Skip to content

ICSHWI-9071 Added indicator to show IOC is running plus some runtime stats

Creates a file in /run/ioc@iocname/running after iocInit (to make sure that the IOC is really running).

Keeps the last 5 run's runtime length (in seconds) and exit code in a csv file (/run/ioc@iocname/stats). This can be used in exporters to detect rapid restarts for example.

The directory /run/ioc@iocname is created and deleted by systemd so it is not preserved between systemd service sessions

Merge request reports