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
:-)
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. bootinfo -r
2. lsdev -Ccmemory
3. lsattr -Elmem0
> 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
> :-)
>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
>:-)
# 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
> 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
> :-)
# 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
> 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
> :-)
# 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
> 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
> :-)
> # 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
--Jim
--------------
Disclaimer: My views are my own and are not necessarily the
same as my ass.
You might try using "bootinfo -r" instead
--
Views expressed are personal and not necessarily shared by my employer.
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! */
Ciao
Fuzzy
:-)
bootinfo -r
Cheers,
Tom
PS. Or you can start monitor and see it there.
> 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
----------------------------------------------------------------
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)