Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jul 1998 21:12:40 +0200 (MESZ)
From:      Rainer M Duffner <Rainer.Duffner@konstanz.netsurf.de>
To:        arthur <arthur@col.auracom.com>
Cc:        freebsd-newbies@FreeBSD.ORG
Subject:   RE: Checking amount of RAM used
Message-ID:  <Marcel-1.46-0728191240-bc8Zsav@duffner.konstanz.netsurf.de>
In-Reply-To: <XFMail.980727123902.arthur@col.auracom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon 27 Jul, arthur wrote:
> 
> On 27-Jul-98 Gary Hall wrote:
> > 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 ?
> > 
> > Thanks
> >
> 
> .. run the proggie "top" it's a great untility for that.

Yes, but ,e.g., HP-UX (a 'doubtful' OS on almost any other side, IMHO)
there is a nice command 'mem' which tells you just how much RAM you
have.
Hm, I think digging in the kernel-sources would bring-up a syscall for
that somehow (don't ask me).
At boot-time, the RAM ist counted/detected, so there's a routine for
that.
One just needed to write a little C-prog around that call.....

Hm, maybe this is not the best topic to discuss on a _newbie_ list.....


cheers,
Rainer
-- 
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|Rainer Duffner, E-Mail: duffner@fh-konstanz.de  |
|        &   Rainer.Duffner@konstanz.netsurf.de  |
|Fachhochschule Konstanz, Germany                |
|"What's a Network ?"  - Bill Gates, early 1980s |
|   WWW:http://www-stud.fh-konstanz.de/~duffner  |
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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



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