Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Dec 2001 10:40:05 -0500
From:      "Blake Crosby" <dev@samurai.com>
To:        "Chris Faulhaber" <jedgar@fxp.org>
Cc:        <freebsd-isp@freebsd.org>
Subject:   RE: Who is using swap?
Message-ID:  <JAEEIJKIHAONENKPFCCPEEMGCBAA.dev@samurai.com>
In-Reply-To: <20011212102940.A97975@peitho.fxp.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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