something like sar for memory?
ESGLinux
esggrupos at gmail.com
Tue Jun 30 12:06:39 UTC 2009
Well,
Now I get the info with sar comes the problem to understand the results.
Allways I try to see the real used memory in linux I have the same problem,
it seems that it´s using ALL the memory.
with sar -r:
kbmemfree kbmemused %memused kbbuffers kbcached kbswpfree
kbswpused %swpused kbswpcad
12:55:01 408540 3740728 90,15 391560 1191012
4096200 332 0,01 48
my system has 4GB and it looks it has 3,7G in use, but I don´t think it´s
true.
with the free -m command:
free -m
total used free shared buffers
cached
Mem: 4052 3705 346 0 384 1217
-/+ buffers/cache: 2103 1948
Swap: 4000 0 4000
the result is the same, but I have heard that the real free memory is the
in the colum free in the -/+ buffers/cache, is it true?
with vmstat as Manuel suggests:
vmstat -s -S m
4248 m total memory
3907 m used memory
2992 m active memory
738 m inactive memory
341 m free memory
404 m buffer memory
1289 m swap cache
4194 m total swap
0 m used swap
4194 m free swap
....
what is command I get other results
so how many memory are free on my system :-( ?
ESG
2009/6/30 ESGLinux <esggrupos at gmail.com>
> Hi,
>
> thanks for your answer, what I was looking for is just sar ;-)
>
> Now I feel a bit stupid, I always run sar without parameters and I didn´t
> realized it could give me the info I was looking for.
>
> Thanks again
>
> Greetings
>
> ESG
>
>
>
> 2009/6/30 Daniel Carrillo <daniel.carrillo at gmail.com>
>
> 2009/6/30 ESGLinux <esggrupos at gmail.com>:
>> > Hi all,
>> > I´m looking for a command or tool that gives a detailed memory usage
>> across
>> > time like sar does with CPU,
>> >
>> > Do you know something like that?
>>
>> sar -r
>>
>> man sar
>>
>> --
>> 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