[CentOS-devel] Collecting data

Paul Daggett phyrkraka at yahoo.com
Sat Dec 25 01:12:59 EST 2010


 I think Hugo's point is that there are much easier ways to extract the 
information you require without bloating the your kernel. It sounds like a shell 
script either in Bash or Perl calling the userland functions is the best way to 
go. "vmstat", "uptime", "top" and "who" could be invoked and then parsed to 
provide an easy way to return much of the information you indicate is required. 
I have to echo the thoughts of Alan that posting to General is a better forum 
for these sorts of questions.
-Paul 




________________________________
From: derleader __ <derleader at abv.bg>
To: The CentOS developers mailing list. <centos-devel at centos.org>
Sent: Fri, December 24, 2010 10:05:01 AM
Subject: Re: [CentOS-devel] Collecting 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.

I know that there are many tools. This C program is developed with special task. 
Can you help me?

Regards 
Peter 



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.centos.org/pipermail/centos-devel/attachments/20101224/e11ca100/attachment.html 


More information about the CentOS-devel mailing list