1833771 Members
1820 Online
110063 Solutions
New Discussion

Server HP-UX version 11i

 
EL MEZIANE
Occasional Contributor

Server HP-UX version 11i

hello everyone
Please, I can know the order which makes it possible to give the characteristics of a server HP-UX
3 REPLIES 3
James R. Ferguson
Acclaimed Contributor

Re: Server HP-UX version 11i

Hi:

# uname -a

Regards!

...JRF...
Pete Randall
Outstanding Contributor

Re: Server HP-UX version 11i

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/ ).

Finally, 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}')

MHZ=$(echo itick_per_tick/D \
| adb -k $HPUX /dev/kmem \
| tail -1 \
| 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




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



And, even more finally, you can obtain CPU speed and RAM without CSTM or root ac
cess as described by Nancy Rippey here:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=851889


Pete

Pete
Joseph Loo
Honored Contributor

Re: Server HP-UX version 11i

hi,

sorry, not sure i understand, please explain characteristics.

regards.
what you do not see does not mean you should not believe