Physical memory of RS6000 running AIX 3.2?

Physical memory of RS6000 running AIX 3.2?

Post by Fuzz » Thu, 10 Dec 1998 04:00:00



Hi all,

I've inherited an ancient RS6000 box running AIX 3.2.  I was wondering
if anyone knows a command or script to determine the amount of
physical (real) memory installed?

Thanks
Fuzzy
:-)

 
 
 

Physical memory of RS6000 running AIX 3.2?

Post by Robert Chavanne » Thu, 10 Dec 1998 04:00:00


Try for example one of these commands:

1.  bootinfo -r
2.  lsdev -Ccmemory
3.  lsattr -Elmem0


> Hi all,

> I've inherited an ancient RS6000 box running AIX 3.2.  I was wondering
> if anyone knows a command or script to determine the amount of
> physical (real) memory installed?

> Thanks
> Fuzzy
> :-)


 
 
 

Physical memory of RS6000 running AIX 3.2?

Post by Road Runn » Thu, 10 Dec 1998 04:00:00


On Wed, 09 Dec 1998 05:31:00 GMT,


>Hi all,

>I've inherited an ancient RS6000 box running AIX 3.2.  I was wondering
>if anyone knows a command or script to determine the amount of
>physical (real) memory installed?

>Thanks
>Fuzzy
>:-)

try <lscfg | grep mem> or <bootinfo -r>
bye Max
 
 
 

Physical memory of RS6000 running AIX 3.2?

Post by Mukesh Purohi » Thu, 10 Dec 1998 04:00:00


Try This ..

       # lsattr -El mem0

Will give you amout of physical memory . This works on AIX 4.3.0 , and I
hope this
will work on 3.2 also.

-Mukesh


> Hi all,

> I've inherited an ancient RS6000 box running AIX 3.2.  I was wondering
> if anyone knows a command or script to determine the amount of
> physical (real) memory installed?

> Thanks
> Fuzzy
> :-)

 
 
 

Physical memory of RS6000 running AIX 3.2?

Post by Mukesh Purohi » Thu, 10 Dec 1998 04:00:00


Try This ..

       # lsattr -El mem0

Will give you amout of physical memory . This works on AIX 4.3.0 , and I
hope this
will work on 3.2 also.

-Mukesh


> Hi all,

> I've inherited an ancient RS6000 box running AIX 3.2.  I was wondering
> if anyone knows a command or script to determine the amount of
> physical (real) memory installed?

> Thanks
> Fuzzy
> :-)

 
 
 

Physical memory of RS6000 running AIX 3.2?

Post by Mukesh Purohi » Thu, 10 Dec 1998 04:00:00


Try This ..

       # lsattr -El mem0

Will give you amout of physical memory . This works on AIX 4.3.0 , and I
hope this
will work on 3.2 also.

-Mukesh


> Hi all,

> I've inherited an ancient RS6000 box running AIX 3.2.  I was wondering
> if anyone knows a command or script to determine the amount of
> physical (real) memory installed?

> Thanks
> Fuzzy
> :-)

 
 
 

Physical memory of RS6000 running AIX 3.2?

Post by Jim » Thu, 10 Dec 1998 04:00:00



>Try This ..

>       # lsattr -El mem0

>Will give you amout of physical memory . This works on AIX 4.3.0 , and I
>hope this
>will work on 3.2 also.

>-Mukesh

that will only list the attributes of that one memory bank, right?  what if
the machine has a mem1 as well?

--Jim

--------------
Disclaimer: My views are my own and are not necessarily the
same as my ass.

 
 
 

Physical memory of RS6000 running AIX 3.2?

Post by DFRusse » Thu, 10 Dec 1998 04:00:00


|> Try This ..
|>
|>        # lsattr -El mem0
|>
|> Will give you amout of physical memory . This works on AIX 4.3.0 , and I
|> hope this
|> will work on 3.2 also.

You might try using "bootinfo -r" instead

--
Views expressed are personal and not necessarily shared by my employer.

 
 
 

Physical memory of RS6000 running AIX 3.2?

Post by Bob Quennevill » Thu, 10 Dec 1998 04:00:00


vmstat will tell you the memory avalible..
 
 
 

Physical memory of RS6000 running AIX 3.2?

Post by courte » Thu, 10 Dec 1998 04:00:00



> I've inherited an ancient RS6000 box running AIX 3.2.  I was wondering
> if anyone knows a command or script to determine the amount of
> physical (real) memory installed?

Hi, Fuzzy, you've gotten a lot of answers, quickly.  
Some of them may work for you,
but none of them is right enough to suit me.

Let's try them on a 3.2.5 system with 128(128x1024x1024)MB installed.
1) use vmstat:  

   vmstat
procs    memory             page              faults        cpu
----- ----------- ------------------------ ------------ -----------
 r  b   avm   fre  re  pi  po  fr   sr  cy  in   sy  cs us sy id wa
 0  0 16241 13348   0   0   0   0    1   0 246  221 117  4  8 88  0

I don't know how to get from that to the right answer.

2) use lsattr -El mem0

   lsattr -El mem0
size   32   Size in Mbytes False
type   0xb  Simm type      False
cardec 0x20 Card type      False

This gives, as noted by others the amount of memory on one card.
You could, of course, do a for loop and add them up.

for i in 0 1 2 3 4 5 6 7
do
lsattr.... this is more work than you should need to do.

3) use bootinfo -r
   bootinfo -r
ksh: bootinfo: permission denied

You need to be root for that on.    

   sudo bootinfo -r
Password:
131072

works perfectly if you are, though.
Gives exactly what you want to know, and nothing extraneous.

No one has (yet) suggested the right answer, which works for
all users at all levels of AIX 3 or 4.

   lsattr -E -l sys0 -a realmem
realmem 131072 N/A False

That's probably because both the command and the response
are UGLY.  I clean them up a little with a "memsize" script.

   memsize
131072K bytes

   cat memsize
/usr/sbin/lsattr -l sys0 -E | awk ' /realmem/ { print $2 "K bytes" }'
--


Open Systems Specialist            Champaign, Illinois            
/*  Opinions expressed are mine... go get your own!       */

 
 
 

Physical memory of RS6000 running AIX 3.2?

Post by Fuzz » Mon, 14 Dec 1998 04:00:00


Thanks everyone for a great set of responses.  I now know my AIX box
has 32MB of RAM (which wasn't that bad 11 years ago when it was made
.. )

Ciao
Fuzzy
:-)

 
 
 

Physical memory of RS6000 running AIX 3.2?

Post by Tom Vincen » Tue, 22 Dec 1998 04:00:00


Try

bootinfo -r

Cheers,
Tom

PS. Or you can start monitor and see it there.


> Hi all,

> I've inherited an ancient RS6000 box running AIX 3.2.  I was wondering
> if anyone knows a command or script to determine the amount of
> physical (real) memory installed?

> Thanks
> Fuzzy
> :-)

 
 
 

1. PC Dropping from RS6000 running AIX 3.2 through token ring(TCP/IP)

Has anyone see or heard of this before? Any help is GREATLY appreciated.

----------------------------------------------------------------

I Cambridge Technology Partners  II  ICBMnet: 42.22 N          I
I 617-374-8231                   II           71.04 W          I
I 617-374-8300 - FAX             II                            I
----------------------------------------------------------------
I False start, most of the offensive line and the quarterback, I
I   offense, Still first down.                                 I
I                 - Referee at the Patriots vs. Lions game     I
I                   (08/22/92)                                 I
----------------------------------------------------------------

2. I need help with ipfw

3. Emacs on RS6000 running AIX 3.2

4. systemwide fetchmail daemon help

5. aix 3.2 - see sed run, run sed run

6. Where are the environment variables?

7. Need help with executables compiled on AIX 4.3 but being run on AIX 3.2

8. How to write a script to change directories....and stay there.

9. Problem building InterViews on AIX 3.2 / IV 2.6 ibm rs6000

10. AIX 3.2 on a 320Mb RS6000/320

11. rmt fix for AIX RS6000 3.2

12. RS6000 BMX Channel Attach in AIX 3.2

13. tickadj/xntp (rs6000 AIX 3.2)