Try looking at the sysctl(3) interface. Issue `sysctl -A' and note
one of the exported variable names. Then, search the code to see how it's
setup. This is most probably what you're looking for.
On Mon, 21 Feb 2000, [iso-8859-1] José Luís Faria wrote:
>Hello
>
>I'm creating a litle update to a freebsd 3.4 kernel.
>My program is for account some data: number of
>packets by class, number of packets dropped by class, etc.
>Now I need to pass this values to another program wich in X-Window
>display this values on-line. After, I want to save this values
>in a file.
>
>I need some docs about how I can do this.
>Which are the primitives in the kernel to do this.
>I use the printf to put this data in /var/log/messages.
>This inappropriate, I dont want this. This is only for testing now.
>
>Can you help me ?
>
>Thank you very much.
>
>
>P.S. I'm sorry my english.
>
>
>--
>
> :) cumprimentos
>--------------------------------
> Jose Luis Faria
> Administrador de Sistemas
> Universidade do Minho - Departamento de Informática
> Campus de Gualtar
> 4710-057 Braga
> Portugal
> tel.: +351 253604440 Fax:+351 253604471
> http://admin.di.uminho.pt/~jose
>
<-------------------------------------------------------------------------->
Bosko Milekic * [EMAIL PROTECTED] * http://pages.infinit.net/bmilekic/
<-------------------------------------------------------------------------->
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message