On Sun, 12 Jun 2005 22:22:06 -0700 "Karsten M. Self" <[email protected]> wrote:
> Processes are swapped opportunistically by GNU/Linux. Both swap and > cache are used to optimize system performance. The links you provided are a worthwhile read. But I think the OP is asking if there is a method to determine which processes are using which chunks of the disk as swap space. And I don't think that is possible to know at any given period of time: the links detail that this whole business of figuring out which pages to keep in RAM and which to commit (flush) to swap is an extremely dynamic one. So, apart from taking a peek at top(1), and sorting by memory use, and looking in particular for a big difference between the VSIZE and RSS fields, I don't think it's possible to know for sure. However, if there is a big difference in the two fields (VSIZE is, as I understand, the process' requested size - not always the physical RAM size of the process, but rather how big the process thinks it is) and RSS is "resident set size", which gives you the actual RAM consumed by the process.) -- ------------------------------------------------------------------------ David E. Fox Thanks for letting me [EMAIL PROTECTED] change magnetic patterns [EMAIL PROTECTED] on your hard disk. ----------------------------------------------------------------------- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

