From: claird@Starbase.NeoSoft.COM (Cameron Laird)
Subject: Physical RAM visible to Unix
Date: 1996/03/16 [thread overview]
Message-ID: <4iei2p$fdc@Starbase.NeoSoft.COM> (raw)
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?
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.
--
Cameron Laird http://starbase.neosoft.com/~claird/home.html
claird@NeoSoft.com +1 713 623 8000 #227
+1 713 996 8546 FAX
next reply other threads:[~1996-03-16 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-03-16 5:00 Cameron Laird [this message]
1996-03-19 5:00 ` Physical RAM visible to Unix Thong Ly
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