Disappearing Swap

Nathan Kinkade nkinkade at ub.edu.bz
Tue Feb 15 19:30:25 GMT 2005


On Mon, Feb 14, 2005 at 02:35:18AM +0000, John wrote:
> Hello list
> 
> How can I see what process is eating my swap? vmstat indicates that the swap
> is being eaten, but by what? If it all gets eaten, badness occurs. 
> I'm running freebsd 5.3-release-p5. 
> 
> thanks for any input

A good start would be to just look at the output of `ps aux` and to
focus on the memory related columns: %MEM VSZ RSS.  Take special note of
which processes are using large portions of memory.  Use can also use
top(1) and then sort based on memory usage.  I guess I'm suggesting that
rather than trying to figure out what is using all your swap, to turn
the search around and try to find what is using all your physical
memory such that intense swapping becomes necessary.

Nathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050214/4c1e0477/attachment.bin


More information about the freebsd-questions mailing list