Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Mar 2001 17:15:04 +0000 (GMT)
From:      George Reid <greid@ukug.uk.freebsd.org>
To:        Duraid <latif2221@home.com>
Cc:        "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: sysctl.. what is it
Message-ID:  <Pine.BSF.4.21.0103101711100.31802-100000@sobek.openirc.co.uk>
In-Reply-To: <3AAA420C.DDD4B32@home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 10 Mar 2001, Duraid wrote:

> what is it?

A way of setting or viewing various kernel options at runtime. You knew
that already though; it's at the top of the manpage.

> how does it work?

It's magic. Use sysctl -w name=value to change a value, use sysctl name to
see a value. Again, in the manpage.

> if i set an option do i need to recompile or reboot?

No.

> where do i get a complete list of options?

Read the kernel source in /usr/src/sys. sysctl -a lists all options
available to the current system.

> why don't we compile these options directly in the kernel?

Because that would be stupid. Why the need to recompile/reboot if you're
just choosing to ignore certain ICMP messages or something equally
trivial?

G

"And then it comes to be that the soothing light
   at the end of your tunnel was just a freight
            train, comin' your way."

      George Reid * greid@ukug.uk.freebsd.org


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0103101711100.31802-100000>