From owner-freebsd-isp Wed Dec 12 7:42:18 2001 Delivered-To: freebsd-isp@freebsd.org Received: from infiniteloop.ca (infiniteloop.ca [216.126.86.53]) by hub.freebsd.org (Postfix) with ESMTP id C7E6C37B419 for ; Wed, 12 Dec 2001 07:42:11 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by infiniteloop.ca (Postfix) with ESMTP id 3DCE0213; Wed, 12 Dec 2001 10:42:11 -0500 (EST) Received: from blake (CPE0050DA7C7E5D.cpe.net.cable.rogers.com [24.101.32.246]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client did not present a certificate) by infiniteloop.ca (Postfix) with ESMTP id A1A071C8; Wed, 12 Dec 2001 10:42:10 -0500 (EST) From: "Blake Crosby" To: "Chris Faulhaber" Cc: Subject: RE: Who is using swap? Date: Wed, 12 Dec 2001 10:40:05 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <20011212102940.A97975@peitho.fxp.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Virus-Scanned: by AMaViS snapshot-20010714 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I always forget about ps the "W" flag indicates that its been swapped out. I wonder what is freebsd's intention of swapping something: infiniteloop-/usr/ports/sysutils> ps auwx | grep W root 30 0.0 0.0 208 0 ?? IWs - 0:00.00 adjkerntz -i root 473 0.0 0.0 944 0 v0 IWs+ - 0:00.00 /usr/libexec/getty Pc ttyv0 root 474 0.0 0.0 944 0 v1 IWs+ - 0:00.00 /usr/libexec/getty Pc ttyv1 root 475 0.0 0.0 944 0 v2 IWs+ - 0:00.00 /usr/libexec/getty Pc ttyv2 root 476 0.0 0.0 944 0 v3 IWs+ - 0:00.00 /usr/libexec/getty Pc ttyv3 root 477 0.0 0.0 944 0 v4 IWs+ - 0:00.00 /usr/libexec/getty Pc ttyv4 root 478 0.0 0.0 944 0 v5 IWs+ - 0:00.00 /usr/libexec/getty Pc ttyv5 root 479 0.0 0.0 944 0 v6 IWs+ - 0:00.00 /usr/libexec/getty Pc ttyv6 root 480 0.0 0.0 944 0 v7 IWs+ - 0:00.00 /usr/libexec/getty Pc ttyv7 root 639 0.0 0.0 944 0 d0 IWs+ - 0:00.00 /usr/libexec/getty std.9600 ttyd0 bcrosby 650 0.0 0.0 1444 0 p1 IWs - 0:00.00 /usr/local/bin/tcsh bcrosby 664 0.0 0.0 1444 0 p2 IWs - 0:00.00 /usr/local/bin/tcsh Is there a reason why getty is put in swap, and not memory? > -----Original Message----- > From: Chris Faulhaber [mailto:jedgar@fxp.org] > Sent: December 12, 2001 10:30 AM > To: Blake Crosby > Cc: freebsd-isp@freebsd.org > Subject: Re: Who is using swap? > > > On Wed, Dec 12, 2001 at 10:25:25AM -0500, Blake Crosby wrote: > > > > > > I would like to see which processes are using the swap file > (FreeBSD4.4). Is > > there a port, or command I can run? Both fstat and lsof dont > seem to report > > who is using swap. > > > > ps(1) has a few ways to show swapped-out processes. > > -- > Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org > -------------------------------------------------------- > FreeBSD: The Power To Serve - http://www.FreeBSD.org > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message