1837698 Members
3759 Online
110118 Solutions
New Discussion

Command for RAM

 
Gops_1
Regular Advisor

Command for RAM

How can i check a RAM details in HP UX server. I have tried with TOP but its giving a variable memory details.
Thanks
GV
5 REPLIES 5
Torsten.
Acclaimed Contributor

Re: Command for RAM

What does it mean "RAM details"?

From the hardware point of view run

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

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!   
Shibin_2
Honored Contributor

Re: Command for RAM

As stated above, memory details can be found through the command "cstm".

For easy usage to find out the ram details, use:
echo "selclass qualifier memory;info;wait;infolog" | /usr/sbin/cstm
Regards
Shibin
yulianto piyut
Valued Contributor

Re: Command for RAM

if you want to check how much memory do you have, use sam->Performance Monitor->System Properties. if you want to check the configurations of RAM (DIMM), use cstm -> selall -> infolog


-yut-
Pete Randall
Outstanding Contributor

Re: Command for RAM

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


Pete

Pete
Vivek Bhatia
Trusted Contributor

Re: Command for RAM

Please use
print_manifest | grep -i memory

or

Use the following path to get the RAM information
Go to cstm
type> map
type> sel dev num #type the RAM number
type> info
type> infolog

These are thebest way to find on HP-UX systems