Operating System - HP-UX
1848339 Members
13572 Online
104024 Solutions
New Discussion

Re: Processor Information

 
bruceedgar
Occasional Advisor

Processor Information

Hi Team,

1. How to determine the bits size of Processor and Kernel.

2.How to find the processor information .

3.How to enable or disable a particular processor in a multiprocessor system.

Thanks
4 REPLIES 4
Arunvijai_4
Honored Contributor

Re: Processor Information

Hi,

1) getconf KERNEL_BITS and getconf HW_CPU_SUPP_BITS

Take a look at # man getconf for granular detail.

2) You can get processor information via "sam"

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

3) You need to login to GSP or MP to do this.

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

Re: Processor Information

1. getconf KERNEL_BITS

2. I use this little script:

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)"

3. Not sure - through GSP/MP, perhaps?


Pete

Pete
IT_2007
Honored Contributor

Re: Processor Information

1. getconf KERNEL_BITS will tell you if it 32-bit or 64-bit.

2. You can use top command to see how many processors assigned or use sam.

3. It depends on hardware. If you have purchased iCOD which will enable /disable CPU's online.
Torsten.
Acclaimed Contributor

Re: Processor Information

Hi,

regarding (3):

stop the boot process on BCH and go to config menu

Main Menu: Enter command or menu > co

---- Configuration Menu ------------------------------------------------------

Command Description
------- -----------
AUto [BOot|SEArch|STart] [ON|OFF] Display or set specified flag
BootID [] [] Display or set Boot Identifier
BootINfo Display boot-related information
BootTimer [0 - 200] Seconds allowed for boot attempt
CPUconfig [] [ON|OFF] Config/Deconfig processor
DEfault Set the system to predefined values
FAn [HI|NORmal] Display or change fan speed
FastBoot [ON|OFF] Display or set boot tests execution
PAth [PRI|ALT] [] Display or modify a path
SEArch [DIsplay|IPL] [] Search for boot devices
TIme [c:y:m:d:h:m:[s]] Read or set the real time clock in GMT

BOot [PRI|ALT|] Boot from specified path
DIsplay Redisplay the current menu
HElp [] Display help for specified command
RESET Restart the system
MAin Return to Main Menu


use the "CPUconfig" command to disable/enable a certain CPU.

Torsten

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!