From owner-freebsd-hackers Mon Jul 27 17:05:17 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA15363 for freebsd-hackers-outgoing; Mon, 27 Jul 1998 17:05:17 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from mail.camalott.com (root@[208.203.140.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA15109 for ; Mon, 27 Jul 1998 17:04:18 -0700 (PDT) (envelope-from joelh@gnu.org) Received: from detlev.UUCP (tex-146.camalott.com [208.229.74.146]) by mail.camalott.com (8.8.7/8.8.5) with ESMTP id TAA12632; Mon, 27 Jul 1998 19:04:45 -0500 Received: (from joelh@localhost) by detlev.UUCP (8.8.8/8.8.8) id TAA18234; Mon, 27 Jul 1998 19:03:33 -0500 (CDT) (envelope-from joelh) Date: Mon, 27 Jul 1998 19:03:33 -0500 (CDT) Message-Id: <199807280003.TAA18234@detlev.UUCP> To: joelh@gnu.org CC: dhw@whistle.com, freebsd-hackers@FreeBSD.ORG In-reply-to: <199807272038.PAA17808@detlev.UUCP> (message from Joel Ray Holveck on Mon, 27 Jul 1998 15:38:04 -0500 (CDT)) Subject: Re: Checking RAM From: Joel Ray Holveck Reply-to: joelh@gnu.org References: <199807271745.KAA25470@pau-amma.whistle.com> <199807272038.PAA17808@detlev.UUCP> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>> 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