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 1STN0L-0003rR-IC for garchives@archives.gentoo.org; Sun, 13 May 2012 00:49:45 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4D55EE0683; Sun, 13 May 2012 00:49:32 +0000 (UTC) Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 990DFE0BC4 for ; Sun, 13 May 2012 00:47:43 +0000 (UTC) Received: by bkcjk13 with SMTP id jk13so3467576bkc.40 for ; Sat, 12 May 2012 17:47:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=jpwe9D59N5flCRAWO6XWDFdQ6HOb45eOdIds5d6KEWQ=; b=zIRC0Nn76wyzXWiYrWy2olPh8SLT2vGxRw4HPqEjDWrq8idWr8fu0OKGZ/3XszCzT6 wX1zdbrojYUoex878X07HDJCQwF6tTTvXb8XWDiesNBburAygx5CwlKUA8ZUpXvLTQyu hm0gFdVQOVzPDzNg7tnobs/8Sx2H1df7cRVRlrgT1yZeSg6VWoe0jKLYHPOcjBbc94Rq lMcI0hdPANSix2gaihf+qVUl8aU95GskXMkN6sqno+nyGKgouSqWyDOtrDNI1aWQoUal 11c9/DIbJZtrrZUI6gf1Jbxu9uxPGcBUhzjyxxOCfIs0MLRMI9hPfxnyG5tDOPF5RDpZ LpZQ== 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 Received: by 10.204.152.137 with SMTP id g9mr1197111bkw.95.1336870062716; Sat, 12 May 2012 17:47:42 -0700 (PDT) Received: by 10.204.183.203 with HTTP; Sat, 12 May 2012 17:47:42 -0700 (PDT) In-Reply-To: <20120513023449.6d7a0dca@weird.wonkology.org> 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> Date: Sat, 12 May 2012 20:47:42 -0400 Message-ID: Subject: Re: [gentoo-user] I want to play movies without hangs From: Michael Mol To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: f52ed862-861c-427d-879c-91476a3faa98 X-Archives-Hash: ea486d68214b2988cc8c7f160e7016c1 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? =C2=A0Maybe something rel= ated >> 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. > > =C2=A0 =C2=A0 =C2=A0 =C2=A0Wonko > sys-process/htop --=20 :wq