Hi, My problem is that I want to know the amount of memory to adjust the parameters of my Apache y tomcat servers. without this information I don´t know how to tune them. ESG 2009/7/1 Geofrey Rainey <Geofrey.Rainey@xxxxxxxxxx> > Linux will always maximize the available memory so you'll generally see > High usage all the time, this is quite normal. > > > > -----Original Message----- > From: redhat-list-bounces@xxxxxxxxxx [mailto: > redhat-list-bounces@xxxxxxxxxx] On Behalf Of ESGLinux > Sent: Wednesday, 1 July 2009 12:07 a.m. > To: General Red Hat Linux discussion list > Subject: Re: something like sar for memory? > > 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愀 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愒 think it愀 > 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@xxxxxxxxx> > > > 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愒 > > realized it could give me the info I was looking for. > > > > Thanks again > > > > Greetings > > > > ESG > > > > > > > > 2009/6/30 Daniel Carrillo <daniel.carrillo@xxxxxxxxx> > > > > 2009/6/30 ESGLinux <esggrupos@xxxxxxxxx>: > >> > Hi all, > >> > I惴 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@xxxxxxxxxx?subject=unsubscribe > >> https://www.redhat.com/mailman/listinfo/redhat-list > >> > > > > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=subscribe > https://www.redhat.com/mailman/listinfo/redhat-list > ========================================================== > For more information on the Television New Zealand Group, visit us > online at tvnz.co.nz > ========================================================== > CAUTION: This e-mail and any attachment(s) contain information that > is intended to be read only by the named recipient(s). This information > is not to be used or stored by any other person and/or organisation. > > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list > -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list