From owner-freebsd-questi...@freebsd.org Fri Jul 9 08:18:56 2010
Date: Fri, 09 Jul 2010 09:18:01 -0400
From: John Almberg jalmb...@identry.com
To: freebsd-questions@freebsd.org
Subject: shrinking swap space
Since my server locked me out last week because it was out of swap
space, I've been monitoring the swap space every 4 hours. It started off
with 3% used and little by little it has crept up to 17% this morning.
I've been reading up on the subject in my two FreeBSD books (Absolute
and Complete) but neither give me a hint on how to find the program(s)
that are slowly eating up my swap space.
Is there a utility that shows which programs are using swap space? Or
that can help debug this problem?
'ps' is your friend. it will show you the 'total' memory used by each
process, *AND* the 'working set' size. The working set is the part of that
process's address-space that is currently mapped into RAM. The -difference-
betwen the total size, and the working set size is the swap usage.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org