RE: [flalug] more memory questions...

From: Eben King (eben1@tampabay.rr.com)
Date: Wed Mar 10 2004 - 18:18:50 EST


On Wed, 10 Mar 2004, Larry Brown wrote:

> So each numbered folder in proc is associated with each running process

yes; /proc/self -> /proc/<reading process' PID>, so you're always
guaranteed that one will exist.

> and status is the file tracking its current size etc.?

Got me. There's all kinds on nifty information in "status".

> FDSize
> VmSize
> VmLck
> VmRSS
> VmData
> VmStk
> VmExe
> VmLib
>
> I take it Vm does not mean Virtual Memory?

Actually I think it does, FVO "virtual" == "real + swap + memory-mapped
files".
 
> As RSS means the portion loaded into memory right?

"Resident Set Size", IIRC. I don't know exactly what that implies, but my
"top" says vmware has a SIZE of 349M, and a RSS of 348M, and I don't think
all that is swapped in now. ICBW, of course.

> Do you know where can I get a breakdown of the significance of these
> values?

Mmm, try http://www.mozilla.org/projects/footprint/footprint-guide.html
about 2/3 the way down. Also examine "statm", alongside "status";
explanation in Table 1-2 of /usr/src/linux/filesystems/proc.txt .

-- 
-eben    ebQenW1@EtaRmpTabYayU.rIr.OcoPm    home.tampabay.rr.com/hactar
LIBRA:  A big promotion is just around the corner for someone
much more talented than you.  Laughter is the very best medicine,
remember that when your appendix bursts next week.  -- Weird Al



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:15:25 EDT