Szia,

> hogyan lehet megmondani egy processzrol, hogy mennyi 
> swapet foglal?
---------------------------------------
# man top
o: VIRT  --  Virtual Image (kb)
The total amount of virtual memory used by the task.  
It  includes  all  code, data and shared libraries plus 
pages that have been swapped out.

VIRT = SWAP + RES.

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

q: RES  --  Resident size (kb)
The non-swapped physical memory a task has used.
---------------------------------------

# top -p 7458 
PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
7458 root      16   0  8084  684 7168 S  0.0  0.3   0:00.08 smbd
---------------------------------------

SWAP = VIRT - RES = 8084 - 684 = 7400 [kbyte]

bye
Zsolt.

---------------------------------------------- 
English Version:

This message has been scanned for viruses and
dangerous content, and is believed to be clean.

Versiunea Romana:

Mesajul a fost scanat si este considerat a fi 
neinfectat.

_________________________________________________
linux lista      -      linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz