Operating System - HP-UX
1820698 Members
2593 Online
109627 Solutions
New Discussion юеВ

How to find RAM size in HPUX 11.23?

 
SOLVED
Go to solution
Navin Jain
Advisor

How to find RAM size in HPUX 11.23?

Hi,

Does any one know how to find size of RAM in the server running HPUX 11.23?

I am interested in finding in batch mode, not using SAM.

I have checked HP FAQ and question 8.32 describe the adb command. It works well for 11.00 and 11.11 but does work for 11.23

Any one has cracked adk command option for hpux 11.23?

Navin
8 REPLIES 8
Sameer_Nirmal
Honored Contributor
Solution

Re: How to find RAM size in HPUX 11.23?

Hi Navin,

Try these commands
# machinfo | grep Memory

Following commands gives you number of 4k memory pages.
# echo "p phys_mem_pages/jd" | adb /stand/vmunix /dev/kmem
or
# echo "phys_mem_pages/2d" | adb /stand/vmunix /dev/kmem

Arunvijai_4
Honored Contributor

Re: How to find RAM size in HPUX 11.23?

Hi Navin,

You can get these information from ,

# machinfo

# /opt/ignite/bin/print_manifest

# sam --> Performance Monitors --> System Properties --> Memory

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Navin Jain
Advisor

Re: How to find RAM size in HPUX 11.23?

Hi Sameer / Arunvijai,

Thanks for the commands.

1. The command /usr/contrib/bin/machinfo works fine on hpux 11.23 with IA64. I could not find machinfo command on hpux 11.23 PA-RISC? Any idea from where can I download machinfo for hpux 11.23?

2. The adb command works great with hpux 11.23 IA64, but not with hpux 11.23 PA-RISC?

It seems that hpux 11.23 has different version for PA and IA?

Navin



Arunvijai_4
Honored Contributor

Re: How to find RAM size in HPUX 11.23?

Hi Navin,

"machinfo" is not available in 11.23 PA. It is only for IA-64. You can use "/opt/ignite/bin/print_manifest" or SAM to get the information. That should be easier way.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
sysadm_1
Valued Contributor

Re: How to find RAM size in HPUX 11.23?



Hello Naveen,

Try this

dmesg |grep Physical

This list the total memory,locked memory and available memory

cheers!!
sysadm
siva baskaran
Regular Advisor

Re: How to find RAM size in HPUX 11.23?

dear
dmesg will show u and swap -a, vmstat, etc

thanks
siva
Hemmetter
Esteemed Contributor

Re: How to find RAM size in HPUX 11.23?

Hi Navin,

what about :
# echo "selclass qualifier Memory; info ; wait ; il" | cstm | grep "Total Configured Memory"
Total Configured Memory: 65536 MB


if OnlineDiag is installed.

rgds
HGH
Navin Jain
Advisor

Re: How to find RAM size in HPUX 11.23?

Thanks everyone for their suggestion and help.

The best options for 11.23 are:

1. IA system: /usr/contrib/bin/machinfo | grep "Memory"
or
echo "p phys_mem_pages/jd" | adb /stand/vmunix /dev/kmem
or
echo "phys_mem_pages/2d" | adb /stand/vmunix /dev/kmem

2. On a system where Ignite-UX is installed:

/opt/ignite/bin/print_manifest

3. still trying to find the command of hpux 11.23 on PA-RISC system.

4. On a system where OnlineDiag is installed

# echo "selclass qualifier Memory; info ; wait ; il" | cstm | grep "Total Configured Memory"

5. I cannot rely on dmesg output because the Memory size output may not be available.

Regards

Navin