swapctl -l

2018-07-25 Thread Edgar Fuß
It appears to me that swapctl -l lists how much of the swap devices have ever been in use since they were configured. Is there a way to display how much swap is currently in use in the sense of "how many pages are currently swapped out"? Maybe due to my lack of undestanding of vm the question doe

Re: swapctl -l

2018-07-25 Thread Joerg Sonnenberger
On Wed, Jul 25, 2018 at 12:23:26PM +0200, Edgar Fuß wrote: > It appears to me that swapctl -l lists how much of the swap devices have ever > been in use since they were configured. No? It seems to list exactly how much space is currently in use. Joerg

Sample based profiling

2018-07-25 Thread Joerg Sonnenberger
Hello all, the recent work on static PIE support have exposed some fundamental issues in the way profiling support is currently implemented. When -pg is used for linking, the binary will essentially get a copy of libc linked in, but without actually being a static binary. This means that all the fu

Re: swapctl -l

2018-07-25 Thread Edgar Fuß
EF> It appears to me that swapctl -l lists how much of the swap devices EF> have ever been in use since they were configured. JS> No? It seems to list exactly how much space is currently in use. Sorry, I was confused by sysstat vm not showing any paging acivity. Looks like I have some daemons with

Re: swapctl -l

2018-07-25 Thread Michael van Elst
e...@math.uni-bonn.de (Edgar =?iso-8859-1?B?RnXf?=) writes: >Sorry, I was confused by sysstat vm not showing any paging acivity. >Looks like I have some daemons with memory leaks. >I restarted them, but swap usage dropped to 1%, not zero. Pages are only removed from swap when they are freed or ac

Re: swapctl -l

2018-07-25 Thread Edgar Fuß
> Pages are only removed from swap when they are freed or accessed. Ah, I see, thanks! Can I find out which processes own pages that are paged out?

Re: swapctl -l

2018-07-25 Thread Michael van Elst
e...@math.uni-bonn.de (Edgar =?iso-8859-1?B?RnXf?=) writes: >> Pages are only removed from swap when they are freed or accessed. >Ah, I see, thanks! >Can I find out which processes own pages that are paged out? Unfortunately not. -- -- Michael van Elst Interne