Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Aug 2007 22:00:26 -0600
From:      Modulok <>
To:        "Prakash Poudyal" <>
Subject:   Re: How to know the size of RAM memory
Message-ID:  <>
In-Reply-To: <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 8/4/07, Prakash Poudyal <> wrote:
> Hello everybody,
> Can any body tell how to see the size of RAM memory in freebsd. ?
> Thank you
> Sincerely
> Prakash

It should be displayed early in the dmesg(8) output shown during the
boot process. You may review this by executing the dmesg(8) command.
Among the output will be listed:

  dmesg | grep "memory"
    real memory  = 2146304000 (2046 MB)
    avail memory = 2087034880 (1990 MB)

You could also check the appropriate sysctl(8) variables as follows:
  sysctl hw.physmem
  sysctl hw.usermem
  sysctl hw.realmem

To get memory usage statistics you can use ps(1) and top(1):
  ps -u


Want to link to this message? Use this URL: <>