From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1STNAm-00068C-C5 for garchives@archives.gentoo.org; Sun, 13 May 2012 01:00:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 477D5E07AB; Sun, 13 May 2012 01:00:13 +0000 (UTC) Received: from mx.virtyou.com (mx.virtyou.com [178.33.32.244]) by pigeon.gentoo.org (Postfix) with ESMTP id BB069E0AD6 for ; Sun, 13 May 2012 00:58:25 +0000 (UTC) Received: from weird.wonkology.org (xdsl-78-35-159-185.netcologne.de [78.35.159.185]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by mx.virtyou.com (Postfix) with ESMTPSA id D8611DC041 for ; Sun, 13 May 2012 02:58:24 +0200 (CEST) Date: Sun, 13 May 2012 02:58:23 +0200 From: Alex Schuster To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] I want to play movies without hangs Message-ID: <20120513025823.4c8d6f48@weird.wonkology.org> In-Reply-To: References: <20120216162948.7eea6070@weird.wonkology.org> <20120218180407.74055f5e@weird.wonkology.org> <20120218220521.1278e023@bluewin.ch> <1705219.vsiCQe2Sr8@weird> <20120507144134.4ea24fc3@weird.wonkology.org> <20120507231123.49125d30@weird.wonkology.org> <20120509214419.34d6bbe4@weird.wonkology.org> <20120509213833.5e9911ba@digimed.co.uk> <20120510030001.0158d406@weird.wonkology.org> <4FAB2376.6060804@gmail.com> <20120513023449.6d7a0dca@weird.wonkology.org> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 9202d0e5-5ed0-48ac-87a1-f60e7fe01e3c X-Archives-Hash: 39305ad4bca13a93cc73d46e36313f69 Michael Mol writes: > On Sat, May 12, 2012 at 8:34 PM, Alex Schuster > wrote: > > Dale writes: > > > >> Is there a way to find out what is using swap? =A0Maybe something > >> related to the video is on swap which at times can be slow, > >> certainly slower than ram. > >> > >> I have always wondered how to find this out myself. > > > > Me too, so when I had this sudden swap problem for the first time, I > > searched for a method to do this and found a script here: > > http://northernmost.org/blog/find-out-what-is-using-your-swap/ > > > > There's lots of information for all processes in /proc//. Trying > > to read /proc//mem (I think it was this file) in mc was not such > > a good idea, the system froze with lots of HD activity, and after > > half an hour I rebooted with Alt-SysRq-{K,E,I,S,U,B}. > > > > I improved the script a little, it allows sorting by PID, size and > > name, and can restrict the output to specific processes or show only > > those using more swap than specified. If interested you can download > > it here: http://www.wonkology.org/utils/getswap > > You need to be root to see processes you do not own. > > > > But of course, I forgot to run it after the sudden swap problem > > happened lately. So I still do not know what was going on there. I'll > > wait for the next time it happens. > > > > =A0 =A0 =A0 =A0Wonko > > >=20 > sys-process/htop Huh? I only see the total amount of swap being used, but no entry per process. Wonko