I am unsure if there is read access to much of the internal topics of the linux OS via Codesys.
If you want to get that information in, I would recommend going through Node Red and then using the OPC-UA Node to get the information into tags in Codesys.