1827085 Members
2637 Online
109713 Solutions
New Discussion

Display processors

 
SOLVED
Go to solution
Jason Arrhaman
Occasional Advisor

Display processors

How do I display the installed processors on an HPUX 11.0 server?
15 REPLIES 15
Umapathy S
Honored Contributor

Re: Display processors

ioscan |grep Processor will give the processor listing.

HTH
Umapathy
Arise Awake and Stop NOT till the goal is Reached!
Ramkumar Devanathan
Honored Contributor

Re: Display processors

ioscan -fnkC processor

- ramd.
HPE Software Rocks!
Cheryl Griffin
Honored Contributor

Re: Display processors

# echo "selclass qualifier cpu;info;wait;infolog"|cstm > /tmp/procinfo
"Downtime is a Crime."
Cheryl Griffin
Honored Contributor

Re: Display processors

SAM->Performance Monitor->System proprieties->Processor
OR
# /usr/sam/lbin/samx -C /usr/sam/lib/C/mo.ui
"Downtime is a Crime."
Umapathy S
Honored Contributor

Re: Display processors

continue learning... Thanks Ram.

cheers
Umapathy
Arise Awake and Stop NOT till the goal is Reached!
Jason Arrhaman
Occasional Advisor

Re: Display processors

I can do an ioscan -kfC and get the number of processors installed but how do I get more specefic information like speed, and cache? Also, while we are at it, how can i do the same for memory? I want to get the size of installed RAM.


Thanks.
Ramkumar Devanathan
Honored Contributor

Re: Display processors

Umapathy,

it is like a small fish eating smaller fish eating smaller fish eating....

Look at cheryl's responses and you'd know how much i don't know.

- ramd.
HPE Software Rocks!
Pete Randall
Outstanding Contributor
Solution

Re: Display processors

Jason,


Speed:

HPUX=/stand/vmunix

MHZ=$(echo itick_per_tick/D | adb -k $HPUX /dev/kmem | tail -1 | awk '{print $2/10000}')
echo $MHZ



Memory:

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
S.K. Chan
Honored Contributor

Re: Display processors

If you want more details, STM is the way to go ..
# cstm
cstm> map
cstm> sel dev
cstm> info
cstm> infolog
Ramkumar Devanathan
Honored Contributor

Re: Display processors

hi,

Cheryl's sam approach works just fine for me - gives me all the details i want in a popup.

however, the cstm approach didn't work for me. Cheryl, what is cstm and where is it installed?

- ramd
HPE Software Rocks!
Jason Arrhaman
Occasional Advisor

Re: Display processors

Yeah the SAM approach worked but I want to redirect the out put to a text file, so it's not exactly the solution I'm looking for, and cstm didn't work at all.
Sachin Patel
Honored Contributor

Re: Display processors

Ram if cstm do not work then try stm text version it is called "support tool manager"

#swlist | grep -i support
OnlineDiag B.11.00.19.10 HPUX 11.0 Support Tools Bundle, Dec 2001

Sachin
Is photography a hobby or another way to spend $
Ramkumar Devanathan
Honored Contributor

Re: Display processors

Sachin-jee,

Thanks for the information. Now I know why - the online diagnostics product is not installed on our test machine here.

- ramd.
HPE Software Rocks!
Cheryl Griffin
Honored Contributor

Re: Display processors

Hello Ramkumar -
# whence cstm
/usr/sbin/cstm
# swlist -l file |grep cstm
Sup-Tool-Mgr.STM-UI-RUN: /usr/sbin/cstm

Support Tools (STM) can be obtained from SUM (Software Update Manager) or http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=B6191AAE
"Downtime is a Crime."
Geoff Wild
Honored Contributor

Re: Display processors

Use this script.

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.