- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to know the CPU model of my machine
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
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
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
09-06-2005 09:55 PM - last edited on 08-20-2014 06:38 PM by Lisa198503
09-06-2005 09:55 PM - last edited on 08-20-2014 06:38 PM by Lisa198503
how to know the CPU model of my machine
Hello,
I'm trying to get my CPU model, but I don't know if there are any command like "model" or something else. I need to obtain the CPU model like "PA8600".
Could anybody help me, please?
Thanks a lot
P.S. This thread has been moved from HP-UX Technical Documentation to HP-UX > sysadmin. -HP Forum Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 09:58 PM
09-06-2005 09:58 PM
Re: how to know the CPU model of my machine
From Merijn's FAQ's
# perl -MUnix::Processors -le'print join"\t",$_->id,$_->state,$_->type,$_->clock for @{Unix::Processors->new()->processors}'
# echo "selclass qualifier cpu;infolog" | /usr/sbin/cstm | grep "CPU Module"
http://mirrors.develooper.com/hpux/faq.html
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 09:59 PM
09-06-2005 09:59 PM
Re: how to know the CPU model of my machine
Try this script:
HPUX=/stand/vmunix
MODEL=$(grep -i $(model | tr "/" " " \
| awk '{print $NF}') \
/usr/sam/lib/mo/sched.models \
| awk '{print $NF}')
MHZ=$(echo itick_per_tick/D \
| adb -k $HPUX /dev/kmem \
| tail -1 \
| awk '{print $2/10000}')
echo `hostname` has `ioscan -k |grep -n processor \
|wc -l` $MODEL $MHZ "Mhz processor(s)"
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 10:03 PM
09-06-2005 10:03 PM
Re: how to know the CPU model of my machine
This is the result:
"machine has 6 750 Mhz processor(s)"
But,.. what is the CPU model ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 10:15 PM
09-06-2005 10:15 PM
Re: how to know the CPU model of my machine
What's the output of "model" on your computer?
Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 10:30 PM
09-06-2005 10:30 PM
Re: how to know the CPU model of my machine
but,... why I cannot to display it in command line ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 10:33 PM
09-06-2005 10:33 PM
Re: how to know the CPU model of my machine
Try this:
root:> cstm
cstm:> map
Look for the entry for the CPU, eg:
299 14/16 CPU (880) Information Successful
then:
cstm:> select path 14/16
cstm:> map
cstm:> infolog
You'll get the log output - scan down for your CPU info (it will look something like this):
1 0/1 PDC 22.1
CPU(0A) PA8800 3.1
CPU(0B) PA8800 3.1
CPU(1A) PA8800 3.1
CPU(1B) PA8800 3.1
CPU(2A) PA8800 3.1
CPU(2B) PA8800 3.1
CPU(3A) PA8800 3.1
CPU(3B) PA8800 3.1
CC 1.0
SBA 1.0
So, I have some PA8800 CPUs here.
BE CAREFUL with cstm! Don't mess with it too much.
Regards
Colin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 10:38 PM
09-06-2005 10:38 PM
Re: how to know the CPU model of my machine
Mark Syder (like the drink but spelt different)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 10:38 PM
09-06-2005 10:38 PM
Re: how to know the CPU model of my machine
Create a file. Put in it the following (where the path = the hardware path to your CPU - you can get that from ioscan -fnC processor):
map
select path 14/16
map
infolog
Done
quit
OK
Then do:
cstm -f
Col.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 10:41 PM
09-06-2005 10:41 PM
Re: how to know the CPU model of my machine
But, doesn't matter. I can access to the data by SAM
THANKS A LOT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 11:25 PM
09-06-2005 11:25 PM
Re: how to know the CPU model of my machine
I think its a part of DIAGNOSTICS - it may well be that you haven't installed it (hence can't see stm).
Oh well.
Col.