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

Re: How honest is top



Daniel J. Mashao wrote:
>     USER   PID %CPU %MEM  NI   VSZ   RSS  SHRD  TT STAT   TIME COMMAND
> daniel    3418 98.0 88.4   4 989M3 110M6   364  ?  R N  425:45 train -iter
>
> How can my program use  989M3 of virtual memory while I only have 128M
> real memory and 138 Swap memory. I am assuming that  989M3 means 989.3
> Megabytes - is that correct?

Hm, I don't know what the Mn prfix is supposed to mean.

However, your confusion over what VSZ means is understandable and easily
cleared up. VSZ is the "virtual size" of the program. Virtual size means
how much memory the process has allocated for use. This doen't mean it's
using all that memory. Linux will let a process allocate more memory than
the total memory + swap of the system -- there is no problem until the
program actually tries to use all of it. The amount of memory your program
is actually using is under the RSS column.

-- 
see shy jo


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: