1833187 Members
3022 Online
110051 Solutions
New Discussion

MEMORY CONFIG

 
Rich Rossini_1
Occasional Contributor

MEMORY CONFIG

Hi all, I need a command to display my memory config. e.g. number of SIMMS and their capacity. Thanks in advance
4 REPLIES 4
Pete Randall
Outstanding Contributor

Re: MEMORY CONFIG

Rich,

For the total, you can use this little script:

HPUX=/stand/vmunix
MAJORREV=$(uname -r | cut -f2 -d .)
if [ $MAJORREV -ge "11.0" ]
then
MYSYMBOL="phys_mem_pages"
else
MYSYMBOL="physmem"
fi

MYMEM=$(echo "${MYSYMBOL}/D" \
| adb $HPUX /dev/kmem \
| grep "${MYSYMBOL}: *." \
| awk '{printf "%.0f MB\n",$2/256}')
echo $MYMEM


For the individual SIMMS, you'll need to delve into STM - cstm or xstm.


Pete

Pete
MarkSyder
Honored Contributor

Re: MEMORY CONFIG

xstm will show everything on your system.

Select memory and select information to see a breakdown of DIMMs.

xstm is a GUI command - if you are not on the console you will have to direct display to your screen:

DISPLAY=xx.xx.xx.xx:0.0
export DISPLAY

where xx.xx.xx.xx is the IP address of your PC or workstation.

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Stephen Keane
Honored Contributor

Re: MEMORY CONFIG

echo 'selclass qualifier memory;info;wait;infolog' |cstm
Rich Rossini_1
Occasional Contributor

Re: MEMORY CONFIG

THANKS ALL