Real Memory Usage
Steve Phillips
steve at focb.co.nz
Tue Feb 22 19:39:05 UTC 2005
On Tue, 22 Feb 2005, Bill Matthews wrote:
>
> vmstat 5 5
> procs memory swap io system cpu
> r b swpd free buff cache si so bi bo in cs us sy wa id
> 0 0 0 291788 149368 1368452 0 0 2 3 2 3 2 1 0 7
> 0 1 0 291876 149368 1368448 0 0 0 739 137 103 3 3 0 95
> 0 1 0 292128 149368 1368452 0 0 0 370 164 50 1 0 1 98
> 0 0 0 292344 149368 1368456 0 0 0 135 136 215 1 2 0 96
> 0 0 0 291968 149368 1368456 0 0 0 112 312 204 2 1 0 98
>From this, you have
291788 free memory (completely unused)
149368 buffered pages
1368452 cached stuff
this comes to around 1,810,000 K or 1.8Gig of RAM
which leaves around 200 Meg of RAM in use by programs and 1.8Gig available
for use.
The way linux handles memory is a little different from other OS's and as
such it will appear to have used all available RAM when in actual fact
this is not the case (well, it IS but it is just doing what its been
designed to do)
more info can be seen at..
http://forums.gentoo.org/viewtopic.php?t=175419
HTH,
--
Steve.
>
> So you can see it only has 300MB of memory free, meaning 1.7GB is
> used. The only commands I'm familiar with our ps -aef and top.
>
> top shows %MEM but almost all processes are 0.0%. Some are 0.5 or 0.1.
>
> Not sure where to look?
>
> Thanks
> BM
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
More information about the redhat-list
mailing list