Operating System - HP-UX
1833780 Members
2291 Online
110063 Solutions
New Discussion

Processor Megahertz & Architecture (bit)

 
PSS SYS ADMIN
Super Advisor

Processor Megahertz & Architecture (bit)

Hi everyone,
I' want to know, on a HP-UX11.00, this info:

- Processor Megahertz
- Number of bits of the architecture (32 or 64bits)
Please suggest me a useful command.

Regards...
PSS
6 REPLIES 6
aparna challagulla
Valued Contributor

Re: Processor Megahertz & Architecture (bit)

hi PSS,

try sam -> performance monitors -> system properties.

HTH
aparna

If you don't have time to do it right you must have time to do it over
V.Tamilvanan
Honored Contributor

Re: Processor Megahertz & Architecture (bit)

Hi,
see man getconf.


#getconf HW_CPU_SUPP_BITS
Bhuvaneswari Selvaraj
Valued Contributor

Re: Processor Megahertz & Architecture (bit)

Use SAM.. In that you have "Performance Monitoring" tab under which you have sytem properties, in taht you can see all the details...
Robert-Jan Goossens
Honored Contributor

Re: Processor Megahertz & Architecture (bit)

Hi,

Check Merijn's (Procura's) webpage, here you will find a lot of usefull tips including yours.

http://www.cmve.net/~merijn/

Mehz.
# echo itick_per_usec/D | adb -k /stand/vmunix /dev/mem
64 or 32 bits
# file /stand/vmunix

Regards,

Robert-Jan.
T G Manikandan
Honored Contributor

Re: Processor Megahertz & Architecture (bit)

processor speed

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

running kernel arhitecture

#getconf KERNEL_BITS

supported architecture

#getconf HW_CPU_SUPP_BITS
#getconf HW_32_64_CAPABLE

Also you can check /etc/.supported_bits
Umapathy S
Honored Contributor

Re: Processor Megahertz & Architecture (bit)

OS_REL=`uname -r|awk -F. '{ print $2"."$3 }'`
case "$OS_REL" in
"10.20")
OS_BIT=32
CPU_BIT=32
;;
"11*")
OS_BIT=`getconf KERNEL_BITS`
CPU_BIT=`getconf HW_CPU_SUPP_BITS`
;;
esac
Kernel=/stand/vmunix
CPUVER=`echo "cpu_version/X" | adb -k $Kernel /dev/kmem | grep cpu_version| awk '{ if (NF == 2) {print $2}}'`
CPUREV=`echo "cpu_revision_number/X" | adb -k $Kernel /dev/kmem | grep cpu_revision_number | awk ' { if (NF == 2) {print $2}}'`
CPU_TYPE=`grep 0x$CPUVER /usr/include/sys/unistd.h | awk '{print $7}'`
echo "Processor Type : " $CPU_TYPE $CPUVER"."$CPUREV - $CPU_BIT"Bit"
Arise Awake and Stop NOT till the goal is Reached!