From: tly@morticia (Thong Ly)
Subject: Re: Physical RAM visible to Unix
Date: 1996/03/19 [thread overview]
Message-ID: <DoItqG.5K7@tigadmin.ml.com> (raw)
In-Reply-To: 4iei2p$fdc@Starbase.NeoSoft.COM
Cameron Laird (claird@Starbase.NeoSoft.COM) wrote:
: How can I see RAM programmatically? What does a generalized
: Unix system know about this aspect of hardware?
: Some (most? all?) Unix flavors have this visible as a compile-
: time kernel parameter, which shows up someplace below /etc.
: Is there a way to ask /dev/mem for this information?
In some of the UNIXes that I know, if you have access to
/dev/mem, you can try to figure out how large RAM is
by trying to get past the end.
: Why do I need this? I have a number of motivations; easiest
: to explain is that I want to automate this aspect of inventory.
: I'd like to remotely inquire machines about how much RAM they
: have, in part to ensure that it's not getting up and walking
: away (anyone else had this problem?).
: Very mildly-related question: is there a general way to ask a
: machine how its swap-space is configured?
: I'd be happy for an answer either at a command-line level, or
: in terms of systems calls.
: --
Under UnixWare, check out memsize(1M).
Regards,
Thong
--
Thong Ly <tly@japan.ml.com> Technology, Merrill Lynch Japan Inc.
prev parent reply other threads:[~1996-03-19 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-03-16 5:00 Physical RAM visible to Unix Cameron Laird
1996-03-19 5:00 ` Thong Ly [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox