Date: Wed, 31 Jan 1996 15:49:38 +0800 (WST) From: Peter Wemm <peter@jhome.DIALix.COM> To: aagero@aage.aage.priv.no (Ege Rxbekk) Cc: bugs@freebsd.org Subject: Re: ps pages in swapped-out processes Message-ID: <199601310749.PAA07654@jhome.DIALix.COM> References: <199601302306.AAA11772@birk04.studby.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
>If i do e.g. "ps aux", I might see something like >aagero 221 0.0 0.0 704 0 p1 IWs Mon04AM 0:00.45 -bash (bash) >but running ps again, gives >aagero 221 0.0 0.1 704 12 p1 Is Mon04AM 0:00.45 -bash (bash) >and the process has gained some RSS size, together with all the other >swapped-out processes. This is on a quite recent current-system. >-aage This is because 'ps' accesses the process's address space to fetch data from the 'user' struct and the argument strings from it's stack. There are two pages for the user area (4K each) and generally the argv strings are all in the third page for a total of 12K. -Peter
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601310749.PAA07654>