Hi,
I'm developing C plugin for Centos which will be installed as kernel module. The problem is how to collect the data about: CPU Check – Utilization, Model, Number of Cores RAM Check – Total Memory, Free Memory, Memory Load HDD Check – Number of physical HDDs, Number of logical partitions, Total space, Free space Running processes – Total number of processes Logs – system logs such as error logs System uptime Users logged in and last login – total list of users Total network connections Check hardware parts model and number
The kernel module will check the status of the OS every 5 minutes. What is the most efficient way to collect these data?
Regards Peter
On 24 December 2010 14:46, derleader __ derleader@abv.bg wrote:
Hi, I'm developing C plugin for Centos which will be installed as kernel module. The problem is how to collect the data about:
<snip>
Sorry, you have posted to the wrong list. Please re-post to the CentOS general mailing list [1].
Alan.
On Fri, 24 Dec 2010 16:46:50 +0200 (EET), derleader __ wrote: The kernel module will check the status of the OS every 5 minutes. What is the most efficient way to collect these data?
I have a hard time trying to figure out why you would want to write a kernel module for all of this. There are userland tools that can do just about everything you describe.
Hugo.