*BSD News Article 70323


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.mel.connect.com.au!news.mira.net.au!vic.news.telstra.net!act.news.telstra.net!imci3!newsfeed.internetmci.com!news.msfc.nasa.gov!elroy.jpl.nasa.gov!swrinde!howland.reston.ans.net!Germany.EU.net!Dortmund.Germany.EU.net!interface-business.de!usenet
From: j@ida.interface-business.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc,comp.unix.bsd.misc,
Subject: Re: [Q] kernel help on tcp and dbx
Date: 6 Jun 1996 11:00:38 GMT
Organization: interface business GmbH, Dresden
Lines: 21
Message-ID: <4p6dom$l7i@innocence.interface-business.de>
References: <4okasc$ra3@usenet.srv.cis.pitt.edu>
  <4p26qe$n21@uriah.heep.sax.de> <4p4fri$b3p@sol.ctr.columbia.edu>
Reply-To: joerg_wunsch@interface-business.de (Joerg Wunsch)
NNTP-Posting-Host: ida.interface-business.de
X-Newsreader: knews 0.9.6
X-Phone: +49-351-31809-14
X-Fax: +49-351-3361187
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:20784 comp.unix.bsd.misc:1124

wpaul@ctr.columbia.edu (Bill Paul) wrote:

> As an aside, while the sysctl is the prefered way to tune kernel
> parameters on the fly, you can use the debugger to do it too.
> 
> You can set any global variable in the kernel using the following command:
> 
> # echo "set variable = 1" | gdb -q -w -k /kernel /dev/mem
> 
> This is handy if you want to tweak something that isn't mapped to
> a sysctl variable.

Anyway, it hasn't been in a kernel variable at all before the
somaxconn has been moved into a sysctl variable. :) (I've verified the
CVS history before posting.)  That's why i didn't mention the kgdb
trick.

-- 
J"org Wunsch					       Unix support engineer
joerg_wunsch@interface-business.de       http://www.interface-business.de/~j