<HTML><BODY>
 Hi,<br>&nbsp;&nbsp;&nbsp;&nbsp; I'm developing C plugin for Centos which will be installed as kernel module. The problem is how to collect the data about:<br><ul><li><p style="margin-bottom: 0in; font-weight: normal;" align="LEFT"><font size="3">CPU
        Check – Utilization, Model, Number of Cores</font></p>
        </li><li><p style="margin-bottom: 0in; font-weight: normal;" align="LEFT"><font size="3">RAM
        Check – Total Memory, Free Memory,  Memory Load</font></p>
        </li><li><p style="margin-bottom: 0in; font-weight: normal;" align="LEFT"><font size="3">HDD
        Check – Number of physical HDDs, Number of logical partitions,
        Total space, Free space</font></p>
        </li><li><p style="margin-bottom: 0in; font-weight: normal;" align="LEFT"><font size="3">Running
        processes – Total number of processes</font></p>
        </li><li><p style="margin-bottom: 0in; font-weight: normal;" align="LEFT"><font size="3">Logs
        – system logs such as error logs</font></p>
        </li><li><p style="margin-bottom: 0in; font-weight: normal;" align="LEFT"><font size="3">System
        uptime</font></p>
        </li><li><p style="margin-bottom: 0in; font-weight: normal;" align="LEFT"><font size="3">Users
        logged in and last login – total list of users</font></p>
        </li><li><p style="margin-bottom: 0in; font-weight: normal;" align="LEFT"><font size="3">Total
        network connections</font></p>
        </li><li><p style="margin-bottom: 0in; font-weight: normal;" align="LEFT"><font size="3">Check
        hardware parts model and number</font></p></li></ul>

The kernel module will check the status of the OS every 5 minutes. What is the most efficient way to collect these data?<br><br>Regards<br>Peter <br><br></BODY></HTML>