Gustin Johnson wrote:
>
> Ralf Mardorf wrote:
> > Ralf Mardorf wrote:
> >> Oops :)
> >>
> >> I just wrote at another thread ...
> >>
> >>   
> >>> 2 Gigs are enough RAM, there is always RAM left and the swap is
> never used, when I run top.
> >>>   
> >>>     
> >> ... than I run top ...
> >>
> >> Mem:   1911196k total,  1816664k used,    94532k free,    31848k
> buffers
> >> Swap:  2273156k total,      136k used,  2273020k free,  1490872k cached
> >>
> >> ... the computer is running the hole day through, but since the last
> >> startup there were only Iceweasel, Icedove and gcalctool running on
> >> KDE3. When I run top, only Iceweasel and Icedove were running, while
> >> Icedove only had one tab with the Google search engine opened.
> >>
> >> It's strange. Can such RAM usage be normal? I have to admit, it's
> not my
> >> default 64 Studio or default Suse, it's a broken 64 Studio Lenny I'm
> >> running right now.
> >>
> Most of the RAM is not being used by active processes.  Take the memory
> used and subtract the cached memory to get an idea of how much memory is
> being used.
>
> Linux will make use of unused RAM for caching purposes.  The paging
> mechanism is really quite complex and mostly beyond me at this point.
> What is important is that memory used for cache will be freed for used
> by your applications as needed.
>
> In your example:
> 1816664 - 1490872 = 325792
>
> So there is only 300 or so MB of RAM being used.

Thank you Gustin :)

stupid people like me should use htop. People that use top and atop
should have your knowledge ;). In the future I'm able to understand top
and htop too :D.

> > A second question
>
> > I've got 20/48/ MB RAM
> >        -  128 MB framebuffer
> >        = 1896 MB RAM
>
> > 1896 MB * 1024 = 1941504 KB
>
> >    1941504 KB
> > - "1911196k total"
> > =        30308 KB <-- Is this the RAM the kernel uses?
>
> I don't understand the question.  Are you asking how much memory the
> Kernel occupies or are asking something else?

There are missing around 29 MB of RAM. Where do they go? I guessed that
the kernel might be subtracted.

Cheers,
Ralf

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
64studio-users mailing list
[email protected]
http://lists.64studio.com/mailman/listinfo/64studio-users

Reply via email to