How to see the Ram memory in freebsd 6.2

sac sac at inf.in
Mon Jun 18 12:53:18 UTC 2007


On 6/17/07, Prakash Poudyal <bsdprakash at 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.


More information about the freebsd-questions mailing list