Operating System - HP-UX
1823999 Members
3566 Online
109667 Solutions
New Discussion юеВ

How to check the system info in HP-UX and cpu HZ

 
SOLVED
Go to solution
Harikrishnan L
Frequent Advisor

How to check the system info in HP-UX and cpu HZ

Hi all,

How to check the full system information of HP_UX, like the prtconf in AIX, also how to check the processer type, Speed...

Thanks in advance.
7 REPLIES 7
madhuchakkaravarthy
Trusted Contributor
Solution

Re: How to check the system info in HP-UX and cpu HZ

print_manifest.

machinfo

nickel and cfg2html script
Kapil Jha
Honored Contributor

Re: How to check the system info in HP-UX and cpu HZ

which verion??

print_manifest in PA-RICS
and machinfo for integrity


BR,
Kapil+
I am in this small bowl, I wane see the real world......
madhuchakkaravarthy
Trusted Contributor

Re: How to check the system info in HP-UX and cpu HZ

getconf KERNEL_BITS

getconf HW_CPU_SUPP_BITS


do man getconf
Dennis Handly
Acclaimed Contributor

Re: How to check the system info in HP-UX and cpu HZ

>madhuchakkaravarthy: getconf KERNEL_BITS HW_CPU_SUPP_BITS

These are mostly pretty useless since they will be 64 for modern HP-UX servers.
yulianto piyut
Valued Contributor

Re: How to check the system info in HP-UX and cpu HZ

hp-ux 11.31 : machinfo
hp-ux 11.11 : sam > performance monitors > system properties

prtconf in solaris & AIX, in hp-ux, you can use ioscan
Pete Randall
Outstanding Contributor

Re: How to check the system info in HP-UX and cpu HZ

This question gets asked so often that I put all the various suggestions into one comprehensive list:


If you have Ignite installed, you can use the print_manifest command.

You can also use SAM to display system properties (Sam -> Performance
Monitors -> System Properties).

There are also utilities like "cfg2html" ( http://come.to/cfg2html ),
"nickel" ( ftp://ftp.hp.com/pub/catia/Utils/nickel.shar ) and "sysinfo"
( http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/sysinfo-3.3.1/ ).

You can also obtain this information from the command line with a
series of little scripts like these:

CPU

HPUX=/stand/vmunix

MODEL=$(grep -i $(model | tr "/" " " \
| awk '{print $NF}') \
/usr/sam/lib/mo/sched.models \
| awk '{print $NF}')

#Note: for 11.23 RISC, use
MHZ=$(echo itick_per_tick/D \ # echo "itick_per_usec/d" \
| adb -k $HPUX /dev/kmem \ # | adb $HPUX /dev/kmem
| tail -1 \ #For Itanium, use machinfo
| awk '{print $2/10000}')
echo `hostname` has `ioscan -k |grep -n processor \
|wc -l` $MODEL $MHZ "Mhz processor(s)"


Number of CPUs

ioscan -k |grep -n processor |wc -l


Support Tools Manager (STM) CPU info:

echo "selclass qualifier cpu;info;wait;infolog" | cstm




RAM

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


Support Tools Manager (STM) RAM info:

echo "selclass qualifier memory;info;wait;infolog" | cstm




You can obtain CPU speed and RAM without CSTM or root access as described by Tom
Ferony (under Nancy Rippey's login) here:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=851889


Pete

Pete
Sachin Kumbla
Frequent Advisor

Re: How to check the system info in HP-UX and cpu HZ

There are no of commnads

cstm
getconf see man pages
machinfo/osinfo

when you issue the cstm command
you will get cstm prompt
cstm>

type the foll command

cstm>map selall
il



you can save the o/p in the file also.