From owner-freebsd-questions Sun May 28 16:29:22 2000 Delivered-To: freebsd-questions@freebsd.org Received: from dt051n0b.san.rr.com (dt051n0b.san.rr.com [204.210.32.11]) by hub.freebsd.org (Postfix) with ESMTP id 71F8D37B549 for ; Sun, 28 May 2000 16:29:19 -0700 (PDT) (envelope-from DougB@gorean.org) Received: from gorean.org (doug@master [10.0.0.2]) by dt051n0b.san.rr.com (8.9.3/8.9.3) with ESMTP id QAA25354; Sun, 28 May 2000 16:28:24 -0700 (PDT) (envelope-from DougB@gorean.org) Message-ID: <3931AB98.25C8D21@gorean.org> Date: Sun, 28 May 2000 16:28:24 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 5.0-CURRENT-0528 i386) X-Accept-Language: en MIME-Version: 1.0 To: Forrest Aldrich Cc: freebsd-questions@freebsd.org Subject: Re: adding swap via vnconfig References: <4.3.2.7.2.20000528182151.00d7d880@216.67.12.69> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Forrest Aldrich wrote: > > I have an older system (FreeBSD-2.2.8) that is under production and cannot > be brought down until a new machine is built. In the mean time, I need to > add a lot of swap space to it. > > I've done this: > > vnconfig -ce /dev/vn0c /usr/local/swapfile swap > > (vn was already in the kernel and the devices are there already). > > Now, it's not clear to me where I can see (other than ls -l) that the file > is actually being utilized, or at what point it would be. swapinfo should tell you that. An underutilized gem for system administrators is the 'apropos' command. You could have done 'apropos swap' and it would give you a list of man pages related to "swap." swapinfo is in there. You can also take a look at the output of top to get a more terse outline of what's happening with swap in general. Good luck, Doug -- "Live free or die" - State motto of my ancestral homeland, New Hampshire Do YOU Yahoo!? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message