Top is a very deceiving tool, you gotta remember to subtract shared objects (.so) memory share from the measure and only consider it once, which turns out to be a very consuming calculation.
For an overall view, just consider the '+/- cache/buffer' part of `free` output. For a process specific measurement, one technique is to use `lsof` to figure out the size of libraries in memories and subtract them from the total process usage. Just my $0.2 On Nov 26, 2007 5:28 PM, Ala'a Ibrahim <[EMAIL PROTECTED]> wrote: > a question > > when I query about used memory, it's different from the system monitor (gui > Gnome tool gnome-system-monitor), it tells me that I'm using 597 MB of Ram, > when I use "free -m" it tells me that I'm using 1400 MB of Ram, and top > tells me almost the same (1434092k). > > which one should I trust? also 1400 MB doesn't seam right, I'm only using X > (Gnome) with firefox, and Rythmbox. I turned off all the servers. > > anybody knows why this thing might be happening? > > > > > On Nov 26, 2007 4:43 PM, Husam habannakeh <[EMAIL PROTECTED]> wrote: > > > > bet :) > > > > > > > > > > On Nov 26, 2007 4:39 PM, Husam habannakeh <[EMAIL PROTECTED]> wrote: > > > i bit he zaid was worried about his p0rn directories :) > > > > > > > > > On Nov 26, 2007 4:10 PM, Khamis Siksek <[EMAIL PROTECTED]> wrote: > > > > Zaid he was asking but he put the "?" a little bit early :-) > > > > > > > > > > > > > > > > On 11/26/07, Zaid Amireh <[EMAIL PROTECTED] > wrote: > > > > > > > > > > On Nov 26, 2007 8:00 AM, Husam habannakeh < [EMAIL PROTECTED]> > wrote: > > > > > > > > > > > > Morning > > > > > > so what happens if you hit the physical memory limit ? swap will > be > > > > > > turned on automatically > > > > > > > > > > > > > > > > > > > > > > > > > > > If you can guarantee that you will never use more virtual memory > than > > > > > > > the physical memory you have then by all means, turn swap off :) > > > > > > > > > > > > > > Zaid > > > > > > > > > > > > > > -- > > > > > > > --------------------------- > > > > > > > Netiquette -> http://www.dtcc.edu/cs/rfc1855.html > > > > > > > Netiquette Nazi -> > > > > > > > > http://redwing.hutman.net/%7Emreed/warriorshtm/netiquettenazi.htm > > > > > > > --------------------------- > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > HusamHabannakeh > > > > > > +962 777 656086 > > > > > > Amman Jordan > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > swap will be turned on automatically? I personally haven't seen any > > > > > kernel that turns swap on against the admin's explicit commands, oh, > > > > > does it also create a swap partition automatically? what if the > whole > > > > > hard drive is already fully allocated? does the kernel delete > > > > > directories which it thinks are holding p0rn and creates swap in > their > > > > > place? > > > > > > > > > > Would love it if you can show me something that proves your claim of > > > > > this functionality. > > > > > > > > > > Zaid > > > > > > > > > > -- > > > > > --------------------------- > > > > > Netiquette -> http://www.dtcc.edu/cs/rfc1855.html > > > > > Netiquette Nazi -> > > > > > http://redwing.hutman.net/%7Emreed/warriorshtm/netiquettenazi.htm > > > > > --------------------------- > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > Khamis Siksek > > > > http://saksoook.blogspot.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > HusamHabannakeh > > > +962 777 656086 > > > Amman Jordan > > > > > > > > > > > -- > > HusamHabannakeh > > +962 777 656086 > > Amman Jordan > > > > > > > > > > > > -- > Ala'a A. Ibrahim > http://guru.alaa-ibrahim.com/ > > > > -- abulyomon www.KiLLTHeUPLiNK.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Jolug" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Jolug?hl=en-GB -~----------~----~----~----~------~----~------~--~---

