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 1STNGD-0007Cr-5g for garchives@archives.gentoo.org; Sun, 13 May 2012 01:06:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4530BE0A9E; Sun, 13 May 2012 01:05:55 +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 55559E0952 for ; Sun, 13 May 2012 01:04:13 +0000 (UTC) Received: by bkcjk13 with SMTP id jk13so3471045bkc.40 for ; Sat, 12 May 2012 18:04:12 -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=8ddNHuQwSA9OK2p9w19cODa6BwSFgqsGhNowCMGBTJo=; b=GsI5LQkemXqz9Ni6BZ8QQw83/NNFCKOUVpPjsAwzq8vN204J5FRwC+sne2+axVLHRW 1LspgNIN3SVtWgm5ztZkzoeZa0pWc1Ink1a609NinATcjcKOwOYhn8zr4w6CNrKyAcUI XsgNPmc3cApPwssWZ2//vuXxEZEfFK7IJ6CsEjPG158//TOxoJBX1+XU55kT5aP93g5e OxFtKM6SugWgi/vKk/6jQJ+8ibmtCy8RnVrUW2V38ILQym7ql4oV7KO5RbjFLMEGTnb3 OvqliwJM7sj2oRAEjQXb6aZkbqwidu8T0nOg1yNU2x+Q3SM9G6J+a7rp9sjMNo89k0yF 7ZZg== 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.156.24 with SMTP id u24mr1138910bkw.75.1336871052456; Sat, 12 May 2012 18:04:12 -0700 (PDT) Received: by 10.204.183.203 with HTTP; Sat, 12 May 2012 18:04:12 -0700 (PDT) In-Reply-To: <20120513025823.4c8d6f48@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> <20120513025823.4c8d6f48@weird.wonkology.org> Date: Sat, 12 May 2012 21:04:12 -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: 9fafd772-404a-4701-9392-0b490e1d7042 X-Archives-Hash: 10aefec50e4e67dc979ebd7c1ed437fb On Sat, May 12, 2012 at 8:58 PM, Alex Schuster wrote: > 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? =C2=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. >> > >> > =C2=A0 =C2=A0 =C2=A0 =C2=A0Wonko >> > >> >> sys-process/htop > > Huh? I only see the total amount of swap being used, but no entry per > process. Hit F2, and go down to 'columns'. Anything per-process found under /proc can be added as a column. --=20 :wq