Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2018 09:04:47 +0100 (CET)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        FreeBSD questions <freebsd-questions@freebsd.org>
Subject:   Re: Swap on SSD
Message-ID:  <alpine.BSF.2.21.1802060902150.24158@mail.fig.ol.no>
In-Reply-To: <23160.43027.295357.808217@jerusalem.litteratus.org>
References:  <26877DEB-034F-422B-918F-2A0D1C381537@kreme.com> <bfd82845ece3604806329336c58610ed@roundcube.fjl.org.uk> <23160.43027.295357.808217@jerusalem.litteratus.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 5 Feb 2018 13:53-0500, Robert Huff wrote:

> last pid: 57956;  load averages:  2.02,  2.01,  1.95   up 57+19:09:04  13:49:29
> 132 processes: 3 running, 129 sleeping
> CPU: 38.7% user,  0.4% nice,  7.9% system,  0.0% interrupt, 53.0% idle
> Mem: 2264M Active, 2303M Inact, 1478M Laundry, 1525M Wired, 761M Buf, 115M Free
> Swap: 17G Total, 996M Used, 16G Free, 5% Inuse
> 
> 	So ... is "Swap" an incorrect label, or is actual swapping
> going on?
> 	(And is there a utility which will list the swap area by owning
> process?)

Try hitting the w key while running top. Then hit the o key and type 
in swap. Hit the enter key and the display should now be sorted by the 
most swappy processes. If you read the commit log for top, you'll 
notice the VM subsystem doesn't really track swap usage, so the 
presented values are only an estimate.

-- 
Trond.



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