Gentoo Archives: gentoo-user

From: Alex Schuster <wonko@×××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] I want to play movies without hangs
Date: Thu, 17 May 2012 13:23:42
Message-Id: 20120517152148.4a22bf9c@weird.wonkology.org
In Reply to: Re: [gentoo-user] I want to play movies without hangs by Michael Mol
1 Michael Mol wrote:
2
3 > On Sat, May 12, 2012 at 8:58 PM, Alex Schuster <wonko@×××××××××.org>
4 > wrote:
5
6 [about showing which processes use how much swap]
7
8 > > Michael Mol writes:
9 [...]
10 > >> sys-process/htop
11 > >
12 > > Huh? I only see the total amount of swap being used, but no entry per
13 > > process.
14 >
15 > Hit F2, and go down to 'columns'. Anything per-process found under
16 > /proc can be added as a column.
17
18 Whoa! This is amazing, I did not know that htop can do all this. Thanks!
19
20 But I still cannot get it to display the swap used by processes. When I
21 add NSWAP and CNSWAP columns, they are not displayed. I found some
22 information on that, looks to me like this is not really supported:
23
24 http://stackoverflow.com/questions/479953/how-to-find-out-which-processes-are-swapping-in-linux
25 http://wiki.directi.com/display/tu/Understanding+Processes+in+Linux
26
27 Wonko