Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jul 1998 19:03:33 -0500 (CDT)
From:      Joel Ray Holveck <joelh@gnu.org>
To:        joelh@gnu.org
Cc:        dhw@whistle.com, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Checking RAM
Message-ID:  <199807280003.TAA18234@detlev.UUCP>
In-Reply-To: <199807272038.PAA17808@detlev.UUCP> (message from Joel Ray Holveck on Mon, 27 Jul 1998 15:38:04 -0500 (CDT))
References:  <199807271745.KAA25470@pau-amma.whistle.com> <199807272038.PAA17808@detlev.UUCP>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>> Could someone tell me how you can check the amount of RAM both available
>>>> and in use at a given time on FreeBSD 2.2.6 ?
> I suppose you could add to your own /etc/local:
> dmesg | egrep '(real|avail) memory = ' > /var/log/mem
> More generally, you may prefer
> dmesg > /var/log/dmesg.boot

Oh, I forgot to also add that 'sysctl hw.physmem' (and other items
under 'sysctl hw') may be useful.

Happy hacking,
joelh

-- 
Joel Ray Holveck - joelh@gnu.org - http://www.wp.com/piquan
   Fourth law of programming:
   Anything that can go wrong wi
sendmail: segmentation violation - core dumped

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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