OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Alternatives to /proc filesystem

From: Federico Giannici (giannicineomedia.it)
Date: Tue May 02 2006 - 03:35:03 CDT


Hannah Schroeter wrote:
> Hello!
>
> On Sun, Apr 30, 2006 at 05:07:07PM +0200, Federico Giannici wrote:
>> My CD finally arrived and I immediately installed 3.9 in the first machine.
>>
>> I immediately found a problem for me: it seems that the GENERIC kernel
>> no longer support the procfs filesystem.
>
>> Instead of compiling a custom kernel, what is the best way (in Perl) to
>> get the list of current processes?
>
> Then, there's the possibility to use the direct sysctl interface,
> using CTL_KERN as the first level name and the KERN_PROC* names on the
> second level, see the manual page sysctl(3).

Do you know if the "sysctl" interface is accessible by Perl?

Thanks.

--
___________________________________________________
     __
    |- giannicineomedia.it
    |ederico Giannici http://www.neomedia.it
___________________________________________________