[NTLUG:Discuss] Program to view which programs are filling Swap
David Simmons
dsimmons at powersmiths.com
Wed Apr 20 16:04:46 CDT 2005
On Wed, 2005-04-20 at 15:17 -0500, Robert Pearson wrote:
> I just went into "top" setup and added a "SWAP" column by typing "f"
> and then selecting "p" for SWAP.
> VIRT is RESIDENT plus SWAP if it has to swap.
Ahhh...That helps alot in understanding what's going on....although it's
raised another question, what are the 'units' for SWAP? Here's the
'top' of my 'top' command - sorted by the SWAP column:
Cpu(s): 0.3% us, 0.3% sy, 0.0% ni, 99.3% id, 0.0% wa, 0.0% hi,
0.0% si
Mem: 255896k total, 253696k used, 2200k free, 25300k buffers
Swap: 265064k total, 105092k used, 159972k free, 71204k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ SWAP
COMMAND
4274 root 15 0 60796 1416 52m S 0.0 0.6 0:08.71 57m X
4256 root 16 0 43088 728 1940 S 0.0 0.3 0:00.01 41m nscd
9137 dsimmons 16 0 82792 43m 36m S 0.0 17.4 0:18.54 37m
evolution-2.0
5013 dsimmons 16 0 41736 5468 27m S 0.0 2.1 0:01.84 35m
evolution-alarm
5020 dsimmons 15 0 35044 4320 30m S 0.0 1.7 0:01.34 30m
kdeinit
4988 dsimmons 15 0 33916 5192 31m S 0.0 2.0 0:00.69 28m
kdeinit
5009 dsimmons 16 0 32124 4196 25m S 0.0 1.6 0:02.29 27m
kdeinit
5033 dsimmons 16 0 31844 4876 12m S 0.0 1.9 0:00.12 26m
evolution-data-
5005 dsimmons 16 0 29084 4252 25m S 0.0 1.7 0:01.08 24m
kdeinit
Hmmm....I've really gotta RTFM on this one, for info on the columns
VIRT, RES, SHR, SWAP - as I'm sure they hold the key..but don't seem to
'add up'.
Hmm...one thing that is weird....is that the SuSE 'System Monitor' that
shows 45% of memory free is lying to me!?
thanks - Dave
More information about the Discuss
mailing list