1837266 Members
2684 Online
110115 Solutions
New Discussion

HP-UX 11 Hardware Specs

 
SOLVED
Go to solution
Chern Jian Leaw
Regular Advisor

HP-UX 11 Hardware Specs

HI,

What is the command for checking the CPU hardware specs i.e the RAM size, CPU type etc...

I tried doing a prtmesg and dmesg, but that seems to only work in SunOS, and not on HP machines.

Could someone help me out?
Thanks
4 REPLIES 4
T G Manikandan
Honored Contributor
Solution

Re: HP-UX 11 Hardware Specs

you can just use

#sam
for that

sam--->performance monitors--->system properties

Also you can check
/var/adm/syslog/syslog.log|grep Phy

Thanks
G manikandan
Patrick Wallek
Honored Contributor

Re: HP-UX 11 Hardware Specs

If you have Ignite/UX installed, which every system should, you can do a /opt/ignite/bin/print_manifest and either redirect the output to a file, or to a printer. That will give you a lot of information about your system.

# /opt/ignite/bin/print_manifest > /tmp/manifest_file

# /opt/ignite/bin/print_manifest | lp -dmyprinter
Michael Tully
Honored Contributor

Re: HP-UX 11 Hardware Specs

There are a number of places:

glance -t (and then page down)
manifest file from ignite
or you can some of them from here from the TKB document on 'adb'

echo physmem/D | adb -k /stand/vmunix /dev/kmem
physmem:
physmem: 24576

for HP-UX 11.x systems running on 32 bit architecture:
example:

echo phys_mem_pages/D | adb /stand/vmunix /dev/kmem
phys_mem_pages:
phys_mem_pages: 24576

for HP-UX 11.x systems running on 64 bit architecture:
example:

echo phys_mem_pages/D | adb64 -k /stand/vmunix /dev/mem
phys_mem_pages:
phys_mem_pages: 262144

The results of these commands are in memory pages, multiply by 4096
to obtain the size in bytes.

To determine the amount of lockable memory:
example:

echo total_lockable_mem/D | adb -k /stand/vmunix /dev/mem
total_lockable_mem:
total_lockable_mem: 185280

To determine the number of free swap pages :
example:

echo swapspc_cnt/D | adb -k /stand/vmunix /dev/kmem
swapspc_cnt:
swapspc_cnt: 216447

This will display the number of free swap pages.
Multiply the number returned by 4096 for the number of free swap bytes.

To determine the processor speed:
example:
echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem
itick_per_usec:
itick_per_usec: 360

To determine the number of processors in use:
example:
echo "runningprocs/D" | adb -k /stand/vmunix /dev/mem
runningprocs:
runningprocs: 2

To determine the number of pages of buffer cache ( 4Kb in size)
example:
echo bufpages/D | adb -k /stand/vmunix /dev/mem
bufpages:
bufpages: 18848

To display kernel parameters using adb use the parameter name :
example:
echo nproc/D | adb -k /stand/vmunix /dev/mem
nproc:
nproc: 276

To determine the kernel your booted from:
example:
10.x
echo 'boot_string/S' | adb /stand/vmunix /dev/mem
boot_string:
boot_string: disc(52.6.0;0)/stand/vmunix

11.x
echo 'boot_string/S' | adb /stand/vmunix /dev/mem
boot_string:
boot_string: disk(0/0/2/0.6.0.0.0.0.0;0)/stand/vmunix
Anyone for a Mutiny ?
Shahul
Esteemed Contributor

Re: HP-UX 11 Hardware Specs

Hi

There are different ways to get these details

1. thru sam. Go to sam->performance monitoring->system properties. Here U can see processor, memory, Os like tabs. If U go there U will get all the details.

2. If U have Ignite UX installed, go to /opt/ignite/bin then
#./print_manifest > /tmp/configuration
#more /tmp/configuration

This give detailes of CPU, Memory, 32bit/64bit, ioscan output, HDD details etc.

3. U can find out the CPU speed by this command

#echo "itick_per_usec/D" |adb /stand/vmunix /dev/kmem

Best of luck
Shahul