Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 2008 15:09:45 +0100
From:      Matthew Jakeman <m.jakeman@lancaster.ac.uk>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Call function on sysctl value change
Message-ID:  <200810151509.45363.m.jakeman@lancaster.ac.uk>
In-Reply-To: <861vyi0xby.fsf@ds4.des.no>
References:  <200810151343.28136.m.jakeman@lancaster.ac.uk> <8663nu0xd4.fsf@ds4.des.no> <861vyi0xby.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 15 October 2008, Dag-Erling Sm=C3=B8rgrav wrote:
> Dag-Erling Sm=C3=B8rgrav <des@des.no> writes:
> > Matthew Jakeman <m.jakeman@lancaster.ac.uk> writes:
> > > I was wondering if it is possible to call a function when a sysctl
> > > value is changed.
> >
> > grep -r SYSCTL_ADD_PROC /usr/src/sys
>
> even better: 'man SYSCTL_ADD_PROC' will answer all your questions.
>
> DES

Thanks for that. It looks like just the job. Now exactly sure how I missed =
it=20
in the first place but thanks...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810151509.45363.m.jakeman>