- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to determine PA-RISC version?
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
01-30-2006 09:21 AM
01-30-2006 09:21 AM
======================================
HP-UX 11.11 (PA-RISC 1.1 and 2.0)
HP-UX 11.11 (PA-RISC 2.0, 64-bit)
HP-UX 11.23 (IA64, 64-bit)
======================================
By using "swlist", I know my system OS is HP11, but I am not sure what PA-RISC version for my system.
What command or tool can figure out PA-RISC version 1.0 or 2.0?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 09:32 AM
01-30-2006 09:32 AM
Re: How to determine PA-RISC version?
getconf KERNEL_BITS
this will let you know which version you will need
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 09:47 AM
01-30-2006 09:47 AM
Re: How to determine PA-RISC version?
To show the PA-RISC version, do this:
# grep $(printf "0x%x" $(getconf _SC_CPU_VERSION)) /usr/include/sys/unistd.h
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 09:49 AM
01-30-2006 09:49 AM
Re: How to determine PA-RISC version?
I match output from the system to a chart at http://docs.hp.com or newer server still sold at http://www.hp.com servers link.
There are a few charts floating around with PA-RISC version, constantly moving around to new links.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 03:24 PM
01-30-2006 03:24 PM
Re: How to determine PA-RISC version?
Hi GPS,
Here is the LIST
PA-RISC Version Names and Numbers for HP 9000 Models
--> http://web.gat.com/docview/pa-risc.html
With Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 03:32 PM
01-30-2006 03:32 PM
SolutionA programmatical way to find the PA-RISC Version,
/* Routine that will determine the version of PA-RISC
* on which it runs, plus O/S Version and I/O type to
* decide if Server or Workstation class system.
* Calling sysconf with flag _SC_IO_TYPE now returns
* three possible values : IO_TYPE_WSIO, IO_TYPE_SIO
* and IO_TYPE_CDIO (Converged I/O), so that method
* of determining if server or workstation is no
* longer valid.
* To build:
* $ cc -o infomk2 infomk2.c
* To run:
* $ ./infomk2
* Author: Jon Dewis, CPFP April 1997.
* Amended May 1997.
*/
#include
#include
#include
#include
main()
{
struct utsname uts;
printf("\n\n");
switch ( sysconf(_SC_CPU_VERSION) )
{
case CPU_PA_RISC1_0:
printf("PA-RISC Version : 1.0\n");
break;
case CPU_PA_RISC1_1:
printf("PA-RISC Version : 1.1\n");
break;
case CPU_PA_RISC1_2:
printf("PA-RISC Version : 1.2\n");
break;
case CPU_PA_RISC2_0:
printf("PA-RISC Version : 2.0\n");
break;
default:
printf("Unknown Architecture\n");
break;
}
printf("\n");
if ( uname(&uts) == -1 )
printf("Error in uname call\n"), exit(1);
printf ("System name : %s\n", uts.sysname);
printf ("Node name : %s\n", uts.nodename);
printf ("Version : %s\n", uts.version);
printf ("Release : %s\n", uts.release);
printf ("Machine : %s\n", uts.machine);
printf ("Idnumber : %s\n", uts.idnumber);
if ( strstr(uts.machine,"/7") == (char *) NULL)
{
if (strstr(uts.machine, "/8") == (char *) NULL)
printf(
"Unknown Machine type: %s\n",
uts.machine);
else
printf("This is a Server\n");
}
else
printf("This is a Workstation\n");
}
http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,2121,00.html
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 08:51 PM
01-30-2006 08:51 PM
Re: How to determine PA-RISC version?
# file /stand/vmunix
will give that.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 09:15 PM
01-30-2006 09:15 PM
Re: How to determine PA-RISC version?
You can find the required information by executing SAM -> Perfromance monitors -> System Properties.
Rgds,
Ajit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2006 10:11 PM
01-30-2006 10:11 PM
Re: How to determine PA-RISC version?
I would like to suggest one more. :)
Use print manifest, it will clearly mention you the OS mode, whether it is 32 or 64 bit.
# /opt/ignite/bin/print_manifest > /myfile
# cat /myfile
Look for the system hardware information, for e.g. one of my system shows as:
System Hardware
Model: 9000/800/A500-44
Main Memory: 3072 MB
Processors: 2
OS mode: 64 bit
LAN hardware ID: 0x00306E03091C
LAN hardware ID: 0x001083187C0D
LAN hardware ID: 0x001083187C2D
LAN hardware ID: 0x00108318DC23
LAN hardware ID: 0x000000000000
LAN hardware ID: 0x000000000000
LAN hardware ID: 0x000000000000
LAN hardware ID: 0x000000000000
Software ID: 565740558
Keyboard Language: Not_Applicable
Hope that helps,
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 01:05 AM
01-31-2006 01:05 AM
Re: How to determine PA-RISC version?
Simply doing a 'file' on /stand/vmunix is not useful for older machines. For example, an old K200 running 10.20 would return:
# file /stand/vmunix
/stand/vmunix: s800 executable -not stripped
Yet:
# grep $(printf "0x%x" $(getconf _SC_CPU_VERSION)) /usr/include/sys/unistd.h
returns:
# define CPU_PA_RISC1_1 0x210 /* HP PA-RISC1.1 */
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2006 01:27 AM
01-31-2006 01:27 AM
Re: How to determine PA-RISC version?
# model
9000/800/A500-7X
#
# grep A500-7X /usr/sam/lib/mo/sched.models
The second field is the PA-RISC version.