1833016 Members
2768 Online
110048 Solutions
New Discussion

Re: Missing CPU's??

 
SOLVED
Go to solution
Chuck Ciesinski
Honored Contributor

Missing CPU's??

To all,

On a rp7420 with 12 cpu's and 48 GB of memory,
Glance is reporting all 48 GB but only 10 acitve CPU's. Is this a normal function of glance,do I have bad cpu's, or is it possible something else could be wrong?

TIA,

Chuck Ciesinski
"Show me the $$$$$"
8 REPLIES 8
erics_1
Honored Contributor
Solution

Re: Missing CPU's??

How many does top report? I've added cpu's and had to reseat them before because the system didn't pick them up.
Raj D.
Honored Contributor

Re: Missing CPU's??

Hi Chuck,

Also check with top. It shows all the cpu's with average usuage.

Cheers,
Raj.
" If u think u can , If u think u cannot , - You are always Right . "
Luk Vandenbussche
Honored Contributor

Re: Missing CPU's??

Chuck,

Did you buy 12 active CPUs or 10 active and 2 iCOD CPU ?
Henk Geurts
Esteemed Contributor

Re: Missing CPU's??

is there ICOD configured on the machine?
the 2 inactive CPU's may be inactive and have to be payed on activation.
Geoff Wild
Honored Contributor

Re: Missing CPU's??

Do you have icod installed?

Try running this script:

# cat /usr/local/bin/hpmem
#!/bin/ksh
#
# Taken from the HP/UniGraphics FAQ
# You must be ROOT to execute this since it uses adb to
# examine the running kernel
#
GetKernelSymbol()
{
echo "$1/D" | \
adb $hpux /dev/kmem | \
tr "\012" " " | \
read junk junk2 kval
}
hpux=/hp-ux
rev=$(uname -r | cut -d. -f2)
if ((rev > 9)); then hpux=/stand/vmunix ;fi
/bin/uname -a
# if 11iv2 or higher - get cpu this way
ver=$(uname -r | cut -d. -f3)
if ((ver > 22)); then
kval=`echo "processor_count/D" | adb /stand/vmunix /dev/kmem |tail -1|awk -F: '{print $2}' `
else
GetKernelSymbol "processor_count"
fi
print CPU Count: $kval
GetKernelSymbol "itick_per_tick"
let speed=kval/10000
print CPU Speed: $speed MHz
if ((rev > 10)); then
print CPU HW Support: `getconf HW_CPU_SUPP_BITS`-bit
print Kernel Support: `getconf KERNEL_BITS`-bit
GetKernelSymbol "memory_installed_in_machine"
else
GetKernelSymbol "physmem"
fi
# if 11iv2 or higher - get memory this way
ver=$(uname -r | cut -d. -f3)
if ((ver > 22)); then
kernel=$(/usr/sbin/kcpath -x)
hexval=$(echo "phys_mem_pages/A" | adb $kernel /dev/kmem|tail +2|awk '{print $2}')
REAL_MEM=$(echo ${hexval}=D|adb)
mb=$(expr ${REAL_MEM} / 256)
else
let mb=kval*4/1024 # convert pages to MB
fi
print RAM Size: $mb MB
GetKernelSymbol "bufpages"
let mb=kval*4/1024 # convert pages to MB
print bufpages: $mb MB
GetKernelSymbol "maxuprc"
print maxuprc: $kval
GetKernelSymbol "maxvgs"
print maxvgs: $kval
GetKernelSymbol "maxfiles"
print maxfiles: $kval
GetKernelSymbol "max_thread_proc"
print max_thread_proc: $kval
GetKernelSymbol "nfile"
print nfile: $kval
GetKernelSymbol "nproc"
print nproc: $kval
GetKernelSymbol "ninode"
print ninode: $kval
GetKernelSymbol "vfd_cw"
print shmmax: $kval
GetKernelSymbol "shmmni"
print shmmni: $kval
GetKernelSymbol "dbc_max_pct"
print dbc_max_pct: $kval


What does it show?

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.
Kent Ostby
Honored Contributor

Re: Missing CPU's??

Icod could very easily be the answer.

Do a "grep Processor /var/adm/syslog/syslog.log" to see how many were recognized on boot up or ioscan -fn.

If there are only 10 there then that is all that is running and you may be looking at 2 that are either set aside for ICOD or are deactivated for some other reason.
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
Chuck Ciesinski
Honored Contributor

Re: Missing CPU's??

To All,

Sorry about getting back to you late and assigning points late, but TOP only showed 10 and we did in fact have two bad cpus. HP has already r/r the faulty processors and we have 12 being reported. We did not buy icod.

Thanks again for all the great responses...

Chuck
"Show me the $$$$$"
Chuck Ciesinski
Honored Contributor

Re: Missing CPU's??

The missing CPU's were replaced...
"Show me the $$$$$"