Re: [SLUG] amount of allocated memory that's swapped out

From: Backward Thinker (backwardthinker@juno.com)
Date: Tue Mar 16 2004 - 14:33:19 EST


Eben King wrote:
> How can I find how much memory allocated to a process is swapped
> out?

Easiest way is with top.

You can take VIRT - RES, but if they are reported in different units, then turning on the SWAP field is probably easiest :). To toggle on swap, press 'f' for fields, then 'p' and enter. Now you should see a new field called SWAP

man 1 top says:
p: SWAP -- Swapped size (kb)
The swapped out portion of a task's total virtual memory image.

~ Daniel

________________________________________________________________
The best thing to hit the Internet in years - Juno SpeedBand!
Surf the Web up to FIVE TIMES FASTER!
Only $14.95/ month - visit www.juno.com to sign up today!
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:20:51 EDT