1837988 Members
6285 Online
110124 Solutions
New Discussion

Re: Processor type

 
Adrian_72
Advisor

Processor type

Hi

May you help me about check what is the Ghz of my processors and how many processor i have?
9 REPLIES 9
twang
Honored Contributor

Re: Processor type

CPU type:
# model
How many CPU:
# ioscan -fnkC processor
# echo "selclass qualifier cpu;infolog" | /usr/sbin/cstm | grep "CPU Module"
CPU speed:
# echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem
Ralph Grothe
Honored Contributor

Re: Processor type

The CPU's frequency can be determined from the kernel's symbol table

# echo itick_per_usec/D|adb /stand/vmunix /dev/kmem
Error from elf64_getehdr(application core file)
Not an Elf file: No Elf header
itick_per_usec:
itick_per_usec: 750
Madness, thy name is system administration
Robert-Jan Goossens
Honored Contributor

Re: Processor type

Hi Adrian,

# echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem

# ioscan -fnkCprocessor

Best regards,
Adrian_72
Advisor

Re: Processor type

the information is the next: My question is in what speed id Mhz or Ghz?
# echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem
itick_per_usec:
itick_per_usec: 360
Patrick Wallek
Honored Contributor

Re: Processor type

It appears you have a 360 MHz processor.
Steven E. Protter
Exalted Contributor

Re: Processor type

top command will accurately report the number of processors.

model command shows speed in MHz as the last number set.

PA-RISC processors have a slower processer speed but are much more efficient than equivalent Intel processors.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
twang
Honored Contributor

Re: Processor type

360 Mhz
H.Merijn Brand (procura
Honored Contributor

Re: Processor type

Attached script is also available from my web site in the FAQ section and will summarize all these questions for you in a single line:

# ux
a5 HP-UX 11.00/64 U 9000/800/A500-7X/64 PA8700/750(2) pa-2.0 2048 Mb
#

Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
Geoff Wild
Honored Contributor

Re: Processor type

And yet another script that provides some good info:

# 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 -k $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
GetKernelSymbol "processor_count"
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
let mb=kval*4/1024 # convert pages to MB
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 "nflocks"
print nflock: $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

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.