Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Dec 1997 01:28:29 -0500 (EST)
From:      "John S. Dyson" <toor@dyson.iquest.net>
To:        Studded@dal.net
Cc:        toor@dyson.iquest.net, FreeBSD-Questions@freebsd.org
Subject:   Re: Out of Swap Space?
Message-ID:  <199712080628.BAA03416@dyson.iquest.net>
In-Reply-To: <199712080623.WAA09076@mail.san.rr.com> from Studded at "Dec 7, 97 10:21:52 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Studded said:
> On Sun, 7 Dec 1997 21:40:44 -0500 (EST), John S. Dyson wrote:
> 
> >"pstat -s" tells you the swap space currently allocated.
> 
> 	Pardon me if this is a FAQ, but I've looked high and low for
> something that will tell me WHICH processes are swapping.  I've often
> wanted this information for balancing loads between machines, but the only
> thing I've come up with is killing processes selectively, which is of
> course, less than optimal. :)
> 
> Any help appreciated,
> 
Interesting request.  To get an idea of memory usage on processes, you
can cat /proc/<pid>/map.  That doesn't tell you exactly what you want to
know though (swap space).  That would be an interesting "fun" project to add to
procfs though.  (That project is specifically one that I think of while
laying in bed, and forget about by the time that the morning comes around.)

I am making sure that this stays in my mailbox for future review.

-- 
John
dyson@freebsd.org
jdyson@nc.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712080628.BAA03416>