[one-users] Host information

Tino Vazquez tinova at fdi.ucm.es
Tue Jan 12 02:42:11 PST 2010


Hi Ranga,

The free memory is calculated with the following line:

$ free -k|grep "buffers\/cache"|awk '{print $4}'

As you can see, this will get the 854328 figure out of the free output
provided, similar to the 853588 shown in the output.

This value is the free memory counting the cached pages that can be flushed.

Regards,

-Tino

--
Constantino Vázquez, Grid Technology Engineer/Researcher:
http://www.dsa-research.org/tinova
DSA Research Group: http://dsa-research.org
Globus GridWay Metascheduler: http://www.GridWay.org
OpenNebula Virtual Infrastructure Engine: http://www.OpenNebula.org



On Mon, Jan 11, 2010 at 11:14 PM, Rangababu Chakravarthula
<rbabu at hexagrid.com> wrote:
> Hello
>
> onehost list gives me this information of a host
> HID NAME                      RVM   TCPU   FCPU   ACPU    TMEM    FMEM STAT
>  5 10.10.20.215                7       400       376      400      8185632
>  853588   on
>
> However when I logon to the host and execute free command, I see the
> following result.
>
>                total               used           free     shared    buffers
>     cached
> Mem:       8185632    7900788     284844          0       6688     562796
> -/+ buffers/cache:    7331304     854328
> Swap:            0          0          0
>
>
> The free memory seems to be very less than what onehost list is giving on
> the management node.
> Where does one get the value that it is displaying? Is it something it is
> not updating frequently?
>
> Ranga
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



More information about the Users mailing list