Operating System - HP-UX
1833869 Members
1685 Online
110063 Solutions
New Discussion

Re: quick way to see RAM configuration

 

quick way to see RAM configuration

Hi guys,


do you know the quickest way to see inside an rp4440 box the RAM HW config.?
In particular I would know how many slots are full and how many still remain for an upgrade.


Thank you very much,
Alessandro Potenziani
10 REPLIES 10
spex
Honored Contributor

Re: quick way to see RAM configuration

Hi Alessandro,

# echo "selclass qualifier memory;info;wait;infolog" | /usr/sbin/cstm

PCS
Mridul Shrivastava
Honored Contributor

Re: quick way to see RAM configuration

# echo "gop cstmpager cat;scl type mem;info;wait;il"|cstm > /tmp/mem.out

view mem.out file
Time has a wonderful way of weeding out the trivial
Peter Godron
Honored Contributor

Re: quick way to see RAM configuration

Hi,
please see this earlier thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=215603
and for the memory type:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=100527


Please read:
http://66.34.90.71/ITRCForumsEtiquette/after.html

Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
on how to reward any useful answers given to your questions.

So far you have only awarded points to 7 of 39 answers !
Marco A.
Esteemed Contributor

Re: quick way to see RAM configuration

Hello,

# machinfo | grep Memory

Using SAM:
# sam --> Performance Monitors --> System Properties --> Memory


Using CSTM (STM): < This could give you the better output >
system#cstm
cstm>map
cstm>sel dev 34 (34 is the device listed for my memory)
cstm>info
cstm>il

Hope this helps,

Rgds,
Just unplug and plug in again ....
Torsten.
Acclaimed Contributor

Re: quick way to see RAM configuration

Hi,

the rp4440 can either have 16 or 32 memory slots.
Maybe it depends on the diagnostic version, but I have seen cstm is only reporting occupied slots so far.

OK, if you have a number between 16 and 32 memory modules, you are using the 32 slot extender.

At least the "in me" command (info memory) from the boot menu prompt will tell you the information about every slot - full or free:

Main Menu: Enter command or menu > in me

MEMORY INFORMATION


MEMORY STATUS TABLE (MB) (Current Boot Status)

Slot 0a 1024M Active
Slot 0b 1024M Active
Slot 0c 1024M Active
Slot 0d 1024M Active

Slot 1a 1024M Active
Slot 1b 1024M Active
Slot 1c 1024M Active
Slot 1d 1024M Active

Slot 2a 1024M Active
Slot 2b 1024M Active
Slot 2c 1024M Active
Slot 2d 1024M Active

Slot 3a 1024M Active
Slot 3b 1024M Active
Slot 3c 1024M Active
Slot 3d 1024M Active

Slot 4a 1024M Active
Slot 4b 1024M Active
Slot 4c 1024M Active
Slot 4d 1024M Active

Slot 5a 1024M Active
Slot 5b 1024M Active
Slot 5c 1024M Active
Slot 5d 1024M Active

Slot 6a 0
Slot 6b 0
Slot 6c 0
Slot 6d 0

Slot 7a 0
Slot 7b 0
Slot 7c 0
Slot 7d 0

Subtotal 24576M

TOTAL = 24576 MB
---------

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
spex
Honored Contributor

Re: quick way to see RAM configuration

Here's the cstm output on an rp4440 w/8GB RAM running HP-UX 11iv1:

# echo "selclass qualifier memory;info;wait;infolog" | /usr/sbin/cstm
> Running Command File (/usr/sbin/stm/ui/config/.stmrc).

-- Information --
Support Tools Manager
...
Basic Memory Description

Module Type: MEMORY
Total Configured Memory : 8192 MB
Page Size: 4096 Bytes

Memory interleaving is supported on this machine and is ON.

Memory Board Inventory

DIMM Slot Size (MB)
--------- ---------
0A 1024
0B 1024
0C 1024
0D 1024
1A 1024
1B 1024
1C 1024
1D 1024
2A 0
2B 0
2C 0
2D 0
3A 0
3B 0
3C 0
3D 0
--------- ---------
System Total (MB): 8192
...

As you can see, empty slots do appear. Of course, my version of cstm (A.53.05) may be different from yours.
Torsten.
Acclaimed Contributor

Re: quick way to see RAM configuration

@spex: good to know.

This was from my logs:

Memory Board Inventory

DIMM Slot Size (MB)
--------- ---------
0A 2048
0B 2048
0C 2048
0D 2048
1A 1024
1B 1024
1C 1024
1D 1024
--------- ---------
System Total (MB): 12288

Unable to tell the number of slots.

But it must be an old version.

Newer versions should report better results, like yours.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Andrew Merritt_2
Honored Contributor

Re: quick way to see RAM configuration

Regarding the display of empty slots, there was a defect in the STM memory info tool which meant that on some server types the empty slots were not shown. rp4440 was one of the system types affected.

This was fixed in the C.51.00 release for 11.23, and the A.52.00 release for 11.11.

If you see the problem on these or later versions, let me know.

Andrew
Peter Godron
Honored Contributor

Re: quick way to see RAM configuration

Alessandro,
a lot of people have provided you with answers. Could you please spend some time to update this thread.

Is the problem resolved or do you have further problems ?

If the problem is resolved, could you please award points, summarise how you fixed the problem and close the thread.

Please read:
http://66.34.90.71/ITRCForumsEtiquette/after.html

Please also read:
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
on how to reward any useful answers given to your questions.
Berd
Trusted Contributor

Re: quick way to see RAM configuration

I would go into cstm and run a map command. The select the device you are interested in, sel dev x, in your case memory. THen run a infolog, this will give you the details you are after.

Regards,
Berd