Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Aug 2000 07:25:36 +0200
From:      Maxime Henrion <mhenrion@cybercable.fr>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        hackers@freebsd.org
Subject:   Re: sysctl from kernel
Message-ID:  <39A754D0.834409BE@cybercable.fr>
References:  <4748.967055662@critter>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for your help !

If someone would be kind enough to answer them, I have a few other questions.
I'm currently trying to modify sysctl_kern_proc() function in
src/sys/kern/kern_proc.c

But, to modify it, I must understand it first ;-)
First, this sysctl is supposed to give the list of the running processes, but
where this information is stored ? The function returns an int so it's
probably not this :-)

Second, what is an "oib" ? There are a lot of oib related stuff with sysctl
and I can't understand what it is.

Thanks for all future help.

Maxime Henrion

Poul-Henning Kamp wrote:

> In message <39A41897.173F00@cybercable.fr>, Maxime Henrion writes:
> >        Hi,
> >
> >I'm new to the FreeBSD kernel and I wanted to know what are the good
> >methods to read a sysctl value from the kernel. Is it the same interface
> >as in user-space ?
> >
> >Any help or links to some documentation would be greatly appreciated :)
>
> Look at the kernel_sysctl() function in src/sys/kern/kern_sysctl.c



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39A754D0.834409BE>