[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-bugs
Subject:    Re: ps pages in swapped-out processes
From:       Peter Wemm <peter () jhome ! DIALix ! COM>
Date:       1996-01-31 7:49:38
[Download RAW message or body]

>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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic