Operating System - HP-UX
1829596 Members
1995 Online
109992 Solutions
New Discussion

Memory chip info with script?

 
SOLVED
Go to solution
W.C. Epperson
Trusted Contributor

Memory chip info with script?

Can I "see" the number and size of memory chips on an L2000 using software? I have 5Gb, don't remember if it's 2x2Gb+1Gb, or what, and don't want to have to shut down and open the server to see.
"I have great faith in fools; self-confidence, my friends call it." --Poe
6 REPLIES 6
Dave Hutton
Honored Contributor

Re: Memory chip info with script?

You can use cstm/xstm/stm to figure this out.

I prefer cstm (I know theres ways of passing the info to it so it could be done as a script. You can do a search of itrc and find it)

But cstm will list it like this:

-- Information Tool Log for MEMORY on path 8 --

Log creation time: Fri May 14 08:02:03 2004

Hardware path: 8


Basic Memory Description

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

Memory interleaving is supported on this machine and is ON.

Memory Board Inventory

DIMM Slot Size (MB)
--------- ---------
0a 512
6a 256
2a 256
4a 256
1a 512
3a 256
5a 256
0b 512
6b 256
2b 256
4b 256
1b 512
3b 256
5b 256
--------- ---------
System Total (MB): 4608

Memory Error Log Summary

The memory error log is empty.

Page Deallocation Table (PDT)

PDT Entries Used: 0
PDT Entries Free: 50
PDT Total Size: 50
Dave Hutton
Honored Contributor

Re: Memory chip info with script?

Ack, didn't mean to submit.

To get it using cstm.

#cstm
map
sel dev ## (memory number, far left column)
info
infolog

Dave
John Carr_2
Honored Contributor

Re: Memory chip info with script?

Hi

and if you find you have not installed STM to be able to do this get it free from

http://www.software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B6191AAE

John.
D Block 2
Respected Contributor

Re: Memory chip info with script?

try STM command, might have to load diags to install this tool. The general way of the memory chips are layed out is in PAIRS. So if you have or see 1024 size DIMMs, and your total memory is 2G, then you have TWO 1G DIMMS. The location is something your will see using STM. There may be 16 slots, or 8 pairs if you will. If you have 2 slots filled and you have 2G if memory, then you should see 1G DIMMS using STM.
Golf is a Good Walk Spoiled, Mark Twain.
Sanjay_6
Honored Contributor
Solution

Re: Memory chip info with script?

Hi,

If you have STM/cstm installed, try this,

echo 'selclass qualifier memory;info;wait;infolog' |cstm > memory_info.txt

Then do a more on memory_info.txt

Hope this helps.

Regds
W.C. Epperson
Trusted Contributor

Re: Memory chip info with script?

Thanks to all for quick responses. I knew this once upon a time in a paradigm far far away.

Now, is there a command to see how much memory _I_ have in this feeble old brain?
"I have great faith in fools; self-confidence, my friends call it." --Poe