- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Getting cpu type
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
10-01-2003 04:29 AM
10-01-2003 04:29 AM
Getting cpu type
I am trying to collect some machine details.
1. For the model 9000/899/K570, how can I get the processor type. I use the script below for other machines.
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}'`
CPU_BIT=`getconf HW_CPU_SUPP_BITS`
echo "Processor Type : " $CPU_TYPE $CPUVER"."$CPUREV - $CPU_BIT"Bit"
Is this model is only 32 bit?
thanks,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2003 04:37 AM
10-01-2003 04:37 AM
Re: Getting cpu type
HTH.
-Josh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2003 04:38 AM
10-01-2003 04:38 AM
Re: Getting cpu type
http://devrsrc1.external.hp.com/STK/serversupport.html
It is possible that there may be a firmware issue that would limit you to 32 bits. You might need to update firmware.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2003 04:39 AM
10-01-2003 04:39 AM
Re: Getting cpu type
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2003 04:41 AM
10-01-2003 04:41 AM
Re: Getting cpu type
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2003 04:42 AM
10-01-2003 04:42 AM
Re: Getting cpu type
Processor Type : which add, shift-and-add been MC68020 MC68030 MC68040 PA-RISC1.0 PA-RISC1.1 PA-RISC1.2 PA-RISC2.0 value give
n . - Bit
which is a junk for me. How can I get the same output which I get in other models in this type of model.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2003 04:43 AM
10-01-2003 04:43 AM
Re: Getting cpu type
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2003 04:47 AM
10-01-2003 04:47 AM
Re: Getting cpu type
I haven't tried the rest of your script, but I suspect most of your problems are because you are running it on 10.20. If you try it on an 11.X system, I bet you get the results you expect.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2003 04:51 AM
10-01-2003 04:51 AM
Re: Getting cpu type
In 11* boxes it works just fine. I also need to collect the same info on 10.2 boxes also. Is there any other way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2003 05:03 AM
10-01-2003 05:03 AM
Re: Getting cpu type
I'm not entirely sure about the rest of it either. I think you may be out of luck on 10.20 systems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2003 03:54 PM
10-02-2003 03:54 PM
Re: Getting cpu type
I found this Webpage, where it gives info on how you can determine cpu architecture programmatically.
http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,2121,00.html
HTH.
Regards,
Hemanth