[comp.sys.ibm.pc.rt] FINDING AMOUNT OF RAM ON AIX 3.1

moore@emily.uvm.edu (Bryan Moore) (04/26/91)

Is there a way to determine how much real memory is on a system
other than opening up the machine and looking at the memory cards?
On our old RT, I used to go into 'crash' and look at the meminbox
symbol, but this symbol is not defined on crash on AIX 3.1.

Thanks.

BRYAN R. MOORE          	    |   "Last night I had that same old dream
EMAIL: moore@uvm-gen.uvm.edu	    |    it rocked me in my sleep, it gave me
USMAIL: 12 Waybury Rd. Colchester,  |    the impression the sandman plays for 
  Vermont 05446                     |    keeps..."   Larry Norman

shair@ux1.cso.uiuc.edu (Bob Shair) (04/28/91)

moore@emily.uvm.edu (Bryan Moore) writes:
>Is there a way to determine how much real memory is on a system
>other than opening up the machine and looking at the memory cards?

lscfg will list the memory cards installed in the box.  
-- 

Bob Shair                          shair@chgvmic1.iinus1.ibm.com
Scientific Computing Specialist    SHAIR@UIUCVMD (bitnet)
IBM Champaign

johnson@aixwiz.austin.ibm.com (Fred L. Johnson) (04/30/91)

The command bootinfo -r will return the number of bytes of real memory. 
Note that its
default permissions are -r-xr-x---  bin  bin, so a normal user will not
be able to
execute it (I don't know why the permissions are set this way). 


- Fred

My remarks and opinions are mine alone...
 ____________________________________________________________________________
|                                  |                                         |
| Fred L. Johnson                  | Internet: johnson@aixwiz.austin.ibm.com |
| IBM Personal Systems Programming | inet: johnson@tanstaafl.austin.ibm.com  |
| AIX BOS Field Quality            | vnet: FJOHNSON at AUSVMQ                |
| 11400 Burnet Road,  994/3401     | phone: (512) 823-4706                   |
| Austin, TX  78758-3493           | tie line: 793-4706                      |
|__________________________________|_________________________________________|

wohler@sapwdf.UUCP (Bill Wohler) (05/02/91)

shair@ux1.cso.uiuc.edu (Bob Shair) writes:
>moore@emily.uvm.edu (Bryan Moore) writes:
>>Is there a way to determine how much real memory is on a system
>>other than opening up the machine and looking at the memory cards?
>lscfg will list the memory cards installed in the box.  

  yes, but will it actually show how much memory the system thinks it
  has?
-- 
						--bw
-----
Bill Wohler <wohler@sap-ag.de> <sapwdf!wohler>
Heidelberg Red Barons Ultimate Frisbee Team

flick@flick.almaden.ibm.com (Myron Flickner) (05/03/91)

In a recent append, moore@emily.uvm.edu (Bryan Moore) writes...
>
>
>Is there a way to determine how much real memory is on a system
>other than opening up the machine and looking at the memory cards?

It's trival ( once you know the magic command 
Any user can issue the command below. 

lsattr -E -l sys0 -a realmem

#include <standard.disclaimers>
imaging away / Myron Flickner, IBM Almaden Research Center, San Jose, CA
VNET/BITNET: FLICK at ALMADEN  Internet: flick@ibm.com

torre@msa3b.UUCP (Patrick Torre) (05/07/91)

wohler@sapwdf.UUCP (Bill Wohler) writes:

>shair@ux1.cso.uiuc.edu (Bob Shair) writes:
>>moore@emily.uvm.edu (Bryan Moore) writes:
>>>Is there a way to determine how much real memory is on a system
>>>other than opening up the machine and looking at the memory cards?
>>lscfg will list the memory cards installed in the box.  

>  yes, but will it actually show how much memory the system thinks it
>  has?
>-- 
>						--bw
>-----
>Bill Wohler <wohler@sap-ag.de> <sapwdf!wohler>
>Heidelberg Red Barons Ultimate Frisbee Team

do a "lsattr -E -l sys0"

this will show you the attributes of the running system.
This will include the ammount of usable physical memory in Kbytes.


-- 
Patrick Torre @ Dun and Bradstreet Software, Inc (404) 239-2061
{emory,gatech}!nanovx!msa3b!torre 

dipto@umbc4.umbc.edu (Dipto Chakravarty) (05/08/91)

In article <1991Apr26.145810.15336@uvm.edu> moore@emily.uvm.edu (Bryan Moore) writes:
>
>
>Is there a way to determine how much real memory is on a system
>other than opening up the machine and looking at the memory cards?

The easiest way to determine the amount of physical mamory (and all
other physical characteristics such as adapters, drives, etc.) on an
RS/6000 is by using the 'lscfg' command (lscfg = list configurations).

Typing 'lscfg' at the prompt will result in the generation of a 
detailed list.

Hope this helps. 

-Dipto Chakravarty


-- 
  /      dipto@ats.com -----\                     /----- uunet!ats!dipto    /
 /   dipto@umbc.BITNET ------>   In-real-life:   <------ +1 301 384 1425   /
/ dipto@umbc4.umbc.edu -----/  Dipto Chakravarty  \----- CMSC, U. of MD.  /