Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 110 14:19:36 -0700 (PDT)
From:      Jim Dennis <jimd@mcafee.com>
To:        khetan@iafrica.com (Khetan Gajjar)
Cc:        jimd@mcafee.com, questions@freebsd.org
Subject:   Re: swapper
Message-ID:  <201006142119.OAA17660@mistery.mcafee.com>
In-Reply-To: <Pine.BSI.3.93.960614230939.5103D-100000@chain.iafrica.com> from "Khetan Gajjar" at Jun 14, 96 11:10:46 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> On Mon, 14 Jun 110, Jim Dennis wrote:
> 
> >	Please tell me more about this syntax. 
> 
> There's nothing to it, really. kill -1 hups a process,
> and swapper runs as process 0. Therefore kill -1 0 as root will hup
> the swapper and restart it (effectively). It'll kill your current session,
> but hey....

	Ahhh!  -- that's what I thought it would do.  That's why I've 
	never tried it (I hate killing my connections -- and I hate 
	killing *everyone's* connections even more).

	I misunderstood your message and thought you were giving us a 
	way to selectively kill just the processes that are swapped to 
	disk (some special signal handling in the 'swapper').
> 
> >	Where could I read more about this?
> 
> I couldn't find anything about it. One of the ugu (unix gurus) I know
> does it.

	Considering the side effects I don't see the advantage over just
	restarting the whole machine.



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