- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to find cpu info online on Itanium superdome r...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2007 07:09 AM
02-20-2007 07:09 AM
How to find cpu info online on Itanium superdome running HPUX-11.23?
How to find cpu info online on Itanium superdome running HPUX-11.23?
Model: ia64 hp superdome server SD32B
OnlineDiag : B.11.23.08.04 HPUX 11.23 Support Tools Bundle, Sep 2006
Command Not working : echo "selclass qualifier cpu;info;wait;infolog"|cstm > /tmp/cpuinfo
Anyone explain how can I get the cpu info online(HPUX level) for the above mentioned setup.
Thanks
Brill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2007 07:23 AM
02-20-2007 07:23 AM
Re: How to find cpu info online on Itanium superdome running HPUX-11.23?
# cat /usr/local/bin/hpmem.ia64
#!/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 -o $hpux /dev/kmem | \
tr "\012" " " | \
awk -F: '{print $3}' |\
read kval
}
hpux=/stand/vmunix
rev=$(uname -r | cut -d. -f2)
/bin/uname -a
GetKernelSymbol "active_processor_count"
print CPU Count: $kval
GetKernelSymbol "itick_per_usec"
print CPU Speed: $kval MHz
print CPU HW Support: `getconf HW_CPU_SUPP_BITS`-bit
print Kernel Support: `getconf KERNEL_BITS`-bit
GetKernelSymbol "memory_installed_in_machine"
ver=$(uname -r | cut -d. -f3)
# if 11iv2 or higher - get memory this way
if ((ver > 22)); then
kernel=$(/usr/sbin/kcpath -x)
hexval=$(echo "phys_mem_pages/A" | adb -o $kernel /dev/kmem|tail +2|awk '{print $2}')
REAL_MEM=$(echo ${hexval}=D|adb -o)
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
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2007 07:33 AM
02-20-2007 07:33 AM
Re: How to find cpu info online on Itanium superdome running HPUX-11.23?
Couldn't find the file /usr/local/bin/hpmem.ia64 in the system.
Thanks,
Brill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2007 07:58 AM
02-20-2007 07:58 AM
Re: How to find cpu info online on Itanium superdome running HPUX-11.23?
vi /usr/local/bin/hpmem.ia64
Then, just cut and paste everything from
#!/bin/ksh
to
print dbc_max_pct: $kval
into it and save it, then chmod +x it....
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2007 08:04 AM
02-20-2007 08:04 AM
Re: How to find cpu info online on Itanium superdome running HPUX-11.23?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2007 08:19 AM
02-20-2007 08:19 AM
Re: How to find cpu info online on Itanium superdome running HPUX-11.23?
Thanks, I ran the script its giving the output something simliar to machinfo. But its not providing the CPU name and version like Maddison or Monticitto.
is there any command there in OS level to find out the CPU name and version. I can find it with MP commands. I am looking for OS level command.
Regards,
Brill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2007 08:51 AM
02-20-2007 08:51 AM
Re: How to find cpu info online on Itanium superdome running HPUX-11.23?
Example, on one of my Itaniums:
# getconf CPU_CHIP_TYPE
520160516
Havn't figured out what to do with that...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2007 08:57 AM
02-20-2007 08:57 AM
Re: How to find cpu info online on Itanium superdome running HPUX-11.23?
I am also getting the similar output.
getconf CPU_CHIP_TYPE
520225284
But it shoud be something like this
MONTE_C2_1624 ( Montecito CPU)
MAD9M-16-9MB (Madison CPU)
Thanks,
Brill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2007 05:41 PM
02-20-2007 05:41 PM
Re: How to find cpu info online on Itanium superdome running HPUX-11.23?
see also
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1098793
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!
