Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jun 2007 18:23:15 +0530
From:      sac <sac@inf.in>
To:        "Prakash Poudyal" <bsdprakash@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to see the Ram memory in freebsd 6.2
Message-ID:  <e14997e00706180553h448a35e9p7c0904a3f39cfdeb@mail.gmail.com>
In-Reply-To: <1428d0e80706170425i2097f00bvfa2ec9ade19dbc0c@mail.gmail.com>
References:  <1428d0e80706170425i2097f00bvfa2ec9ade19dbc0c@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6/17/07, Prakash Poudyal <bsdprakash@gmail.com> wrote:
> Hello All,
>
> Can any body tell me how to see the RAM memory in freebsd.
>
> for your reference I had already used dmesg and top command and now I want
> to know specifec command to see the Ram memory only.
>
>

 $ sysctl hw.physmem | awk '{ print $2/(1024*1024) }'

Will give you memory size in megabytes.

- Sachidananda.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e14997e00706180553h448a35e9p7c0904a3f39cfdeb>