[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wieviel RAM braucht ein Prozess?



Hi Alexander,

man top ergibt untenstehendes, wobei "VIRT = SWAP + RES" offensichtlich
falsch ist, sowohl nach der Elärung wie bei auch deiner Ausgabe.

VIRT = SWAP + RES + SHR

Dein Prozess belegt sicher RES, sowie verwendet auch SHR, wobei SHR evt.
von mehr als nur deinem Prozess verwendet wird (dynamische
Linklibraries).

Freundliche Grüße,
Christoph

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.


t: SHR  --  Shared Mem size (kb)
   The amount of shared memory used by a task.  It  simply  reflects  memory  that
   could be potentially shared with other processes.


Reply to: