<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to determine PA-RISC version? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-pa-risc-version/m-p/3720630#M252736</link>
    <description>Hello, &lt;BR /&gt;&lt;BR /&gt;A programmatical way to find the PA-RISC Version, &lt;BR /&gt;&lt;BR /&gt; /*  Routine that will determine the version of PA-RISC &lt;BR /&gt;   *  on which it runs, plus O/S Version and I/O type to &lt;BR /&gt;   *  decide if Server or Workstation class system.&lt;BR /&gt;&lt;BR /&gt;   *  Calling sysconf with flag _SC_IO_TYPE now returns &lt;BR /&gt;   *  three possible values : IO_TYPE_WSIO, IO_TYPE_SIO &lt;BR /&gt;   *  and IO_TYPE_CDIO (Converged I/O), so that method &lt;BR /&gt;   *  of determining if server or workstation is no &lt;BR /&gt;   *  longer valid.&lt;BR /&gt;&lt;BR /&gt;   *  To build:&lt;BR /&gt;   *     $ cc -o infomk2 infomk2.c&lt;BR /&gt;   *  To run:&lt;BR /&gt;   *   $ ./infomk2&lt;BR /&gt;&lt;BR /&gt;   *  Author: Jon Dewis, CPFP April 1997. &lt;BR /&gt;   *  Amended May 1997.&lt;BR /&gt;   */&lt;BR /&gt;&lt;BR /&gt;  #include &lt;STDIO.H&gt;&lt;BR /&gt;  #include &lt;UNISTD.H&gt;   &lt;BR /&gt;  #include &lt;SYS&gt;&lt;BR /&gt;  #include &lt;STRING.H&gt;&lt;BR /&gt;&lt;BR /&gt;  main()&lt;BR /&gt;  { &lt;BR /&gt;    struct utsname uts;&lt;BR /&gt;&lt;BR /&gt;    printf("\n\n");&lt;BR /&gt;    switch ( sysconf(_SC_CPU_VERSION) )&lt;BR /&gt;    {&lt;BR /&gt;      case CPU_PA_RISC1_0:    &lt;BR /&gt;             printf("PA-RISC Version : 1.0\n");&lt;BR /&gt;       break;&lt;BR /&gt;      case CPU_PA_RISC1_1:    &lt;BR /&gt;             printf("PA-RISC Version : 1.1\n");&lt;BR /&gt;      break;&lt;BR /&gt;      case CPU_PA_RISC1_2:    &lt;BR /&gt;             printf("PA-RISC Version : 1.2\n");&lt;BR /&gt;      break;&lt;BR /&gt;      case CPU_PA_RISC2_0:    &lt;BR /&gt;             printf("PA-RISC Version : 2.0\n");&lt;BR /&gt;      break; &lt;BR /&gt;      default:&lt;BR /&gt;             printf("Unknown Architecture\n");&lt;BR /&gt;             break;&lt;BR /&gt;      }&lt;BR /&gt;      printf("\n"); &lt;BR /&gt;      if ( uname(&amp;amp;uts) == -1 )&lt;BR /&gt;          printf("Error in uname call\n"), exit(1);&lt;BR /&gt;&lt;BR /&gt;      printf ("System name     : %s\n", uts.sysname);&lt;BR /&gt;      printf ("Node name       : %s\n", uts.nodename);&lt;BR /&gt;      printf ("Version         : %s\n", uts.version); &lt;BR /&gt;      printf ("Release         : %s\n", uts.release);&lt;BR /&gt;      printf ("Machine         : %s\n", uts.machine);&lt;BR /&gt;      printf ("Idnumber        : %s\n", uts.idnumber); &lt;BR /&gt;&lt;BR /&gt;      if ( strstr(uts.machine,"/7") == (char *) NULL)&lt;BR /&gt;      {&lt;BR /&gt;        if (strstr(uts.machine, "/8") == (char *) NULL)&lt;BR /&gt;          printf(&lt;BR /&gt;           "Unknown Machine type: %s\n", &lt;BR /&gt;           uts.machine);&lt;BR /&gt;        else&lt;BR /&gt;          printf("This is a Server\n");&lt;BR /&gt;      }&lt;BR /&gt;      else&lt;BR /&gt;          printf("This is a Workstation\n");&lt;BR /&gt; &lt;BR /&gt;  }&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,2121,00.html" target="_blank"&gt;http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,2121,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun&lt;/STRING.H&gt;&lt;/SYS&gt;&lt;/UNISTD.H&gt;&lt;/STDIO.H&gt;</description>
    <pubDate>Mon, 30 Jan 2006 23:32:30 GMT</pubDate>
    <dc:creator>Arunvijai_4</dc:creator>
    <dc:date>2006-01-30T23:32:30Z</dc:date>
    <item>
      <title>How to determine PA-RISC version?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-pa-risc-version/m-p/3720625#M252731</link>
      <description>I am downloading open source software which has following three options.&lt;BR /&gt;&lt;BR /&gt;======================================&lt;BR /&gt;HP-UX 11.11 (PA-RISC 1.1 and 2.0)&lt;BR /&gt;HP-UX 11.11 (PA-RISC 2.0, 64-bit)&lt;BR /&gt;HP-UX 11.23 (IA64, 64-bit)&lt;BR /&gt;======================================&lt;BR /&gt;&lt;BR /&gt;By using "swlist", I know my system OS is HP11, but I am not sure what PA-RISC version for my system. &lt;BR /&gt;&lt;BR /&gt;What command or tool can figure out PA-RISC version 1.0 or 2.0?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Jan 2006 17:21:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-pa-risc-version/m-p/3720625#M252731</guid>
      <dc:creator>GPS</dc:creator>
      <dc:date>2006-01-30T17:21:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine PA-RISC version?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-pa-risc-version/m-p/3720626#M252732</link>
      <description>basically you need to find out if your os is 32 bits or 64 bits, the command you will use is &lt;BR /&gt;&lt;BR /&gt;getconf KERNEL_BITS &lt;BR /&gt;&lt;BR /&gt;this will let you know which version you will need</description>
      <pubDate>Mon, 30 Jan 2006 17:32:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-pa-risc-version/m-p/3720626#M252732</guid>
      <dc:creator>Deoncia Grayson_1</dc:creator>
      <dc:date>2006-01-30T17:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine PA-RISC version?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-pa-risc-version/m-p/3720627#M252733</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;To show the PA-RISC version, do this:&lt;BR /&gt;&lt;BR /&gt;# grep $(printf "0x%x" $(getconf _SC_CPU_VERSION)) /usr/include/sys/unistd.h&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 30 Jan 2006 17:47:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-pa-risc-version/m-p/3720627#M252733</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-01-30T17:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine PA-RISC version?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-pa-risc-version/m-p/3720628#M252734</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;I match output from the system to a chart at &lt;A href="http://docs.hp.com" target="_blank"&gt;http://docs.hp.com&lt;/A&gt; or newer server still sold at &lt;A href="http://www.hp.com" target="_blank"&gt;http://www.hp.com&lt;/A&gt; servers link.&lt;BR /&gt;&lt;BR /&gt;There are a few charts floating around with PA-RISC version, constantly moving around to new links.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 30 Jan 2006 17:49:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-pa-risc-version/m-p/3720628#M252734</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-01-30T17:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine PA-RISC version?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-pa-risc-version/m-p/3720629#M252735</link>
      <description>&lt;BR /&gt;Hi GPS,&lt;BR /&gt;&lt;BR /&gt;Here is the LIST &lt;BR /&gt;&lt;BR /&gt;PA-RISC Version Names and Numbers for HP 9000 Models &lt;BR /&gt;&lt;BR /&gt;--&amp;gt; &lt;A href="http://web.gat.com/docview/pa-risc.html" target="_blank"&gt;http://web.gat.com/docview/pa-risc.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;With Regards,&lt;BR /&gt;&lt;BR /&gt;Siva.</description>
      <pubDate>Mon, 30 Jan 2006 23:24:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-pa-risc-version/m-p/3720629#M252735</guid>
      <dc:creator>Sivakumar TS</dc:creator>
      <dc:date>2006-01-30T23:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine PA-RISC version?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-pa-risc-version/m-p/3720630#M252736</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;A programmatical way to find the PA-RISC Version, &lt;BR /&gt;&lt;BR /&gt; /*  Routine that will determine the version of PA-RISC &lt;BR /&gt;   *  on which it runs, plus O/S Version and I/O type to &lt;BR /&gt;   *  decide if Server or Workstation class system.&lt;BR /&gt;&lt;BR /&gt;   *  Calling sysconf with flag _SC_IO_TYPE now returns &lt;BR /&gt;   *  three possible values : IO_TYPE_WSIO, IO_TYPE_SIO &lt;BR /&gt;   *  and IO_TYPE_CDIO (Converged I/O), so that method &lt;BR /&gt;   *  of determining if server or workstation is no &lt;BR /&gt;   *  longer valid.&lt;BR /&gt;&lt;BR /&gt;   *  To build:&lt;BR /&gt;   *     $ cc -o infomk2 infomk2.c&lt;BR /&gt;   *  To run:&lt;BR /&gt;   *   $ ./infomk2&lt;BR /&gt;&lt;BR /&gt;   *  Author: Jon Dewis, CPFP April 1997. &lt;BR /&gt;   *  Amended May 1997.&lt;BR /&gt;   */&lt;BR /&gt;&lt;BR /&gt;  #include &lt;STDIO.H&gt;&lt;BR /&gt;  #include &lt;UNISTD.H&gt;   &lt;BR /&gt;  #include &lt;SYS&gt;&lt;BR /&gt;  #include &lt;STRING.H&gt;&lt;BR /&gt;&lt;BR /&gt;  main()&lt;BR /&gt;  { &lt;BR /&gt;    struct utsname uts;&lt;BR /&gt;&lt;BR /&gt;    printf("\n\n");&lt;BR /&gt;    switch ( sysconf(_SC_CPU_VERSION) )&lt;BR /&gt;    {&lt;BR /&gt;      case CPU_PA_RISC1_0:    &lt;BR /&gt;             printf("PA-RISC Version : 1.0\n");&lt;BR /&gt;       break;&lt;BR /&gt;      case CPU_PA_RISC1_1:    &lt;BR /&gt;             printf("PA-RISC Version : 1.1\n");&lt;BR /&gt;      break;&lt;BR /&gt;      case CPU_PA_RISC1_2:    &lt;BR /&gt;             printf("PA-RISC Version : 1.2\n");&lt;BR /&gt;      break;&lt;BR /&gt;      case CPU_PA_RISC2_0:    &lt;BR /&gt;             printf("PA-RISC Version : 2.0\n");&lt;BR /&gt;      break; &lt;BR /&gt;      default:&lt;BR /&gt;             printf("Unknown Architecture\n");&lt;BR /&gt;             break;&lt;BR /&gt;      }&lt;BR /&gt;      printf("\n"); &lt;BR /&gt;      if ( uname(&amp;amp;uts) == -1 )&lt;BR /&gt;          printf("Error in uname call\n"), exit(1);&lt;BR /&gt;&lt;BR /&gt;      printf ("System name     : %s\n", uts.sysname);&lt;BR /&gt;      printf ("Node name       : %s\n", uts.nodename);&lt;BR /&gt;      printf ("Version         : %s\n", uts.version); &lt;BR /&gt;      printf ("Release         : %s\n", uts.release);&lt;BR /&gt;      printf ("Machine         : %s\n", uts.machine);&lt;BR /&gt;      printf ("Idnumber        : %s\n", uts.idnumber); &lt;BR /&gt;&lt;BR /&gt;      if ( strstr(uts.machine,"/7") == (char *) NULL)&lt;BR /&gt;      {&lt;BR /&gt;        if (strstr(uts.machine, "/8") == (char *) NULL)&lt;BR /&gt;          printf(&lt;BR /&gt;           "Unknown Machine type: %s\n", &lt;BR /&gt;           uts.machine);&lt;BR /&gt;        else&lt;BR /&gt;          printf("This is a Server\n");&lt;BR /&gt;      }&lt;BR /&gt;      else&lt;BR /&gt;          printf("This is a Workstation\n");&lt;BR /&gt; &lt;BR /&gt;  }&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,2121,00.html" target="_blank"&gt;http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,2121,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun&lt;/STRING.H&gt;&lt;/SYS&gt;&lt;/UNISTD.H&gt;&lt;/STDIO.H&gt;</description>
      <pubDate>Mon, 30 Jan 2006 23:32:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-pa-risc-version/m-p/3720630#M252736</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-01-30T23:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine PA-RISC version?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-pa-risc-version/m-p/3720631#M252737</link>
      <description>Simply do this:&lt;BR /&gt;&lt;BR /&gt;# file /stand/vmunix&lt;BR /&gt;&lt;BR /&gt;will give that.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Jan 2006 04:51:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-pa-risc-version/m-p/3720631#M252737</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-01-31T04:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine PA-RISC version?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-pa-risc-version/m-p/3720632#M252738</link>
      <description>GPS,&lt;BR /&gt;&lt;BR /&gt;You can find the required information by executing SAM -&amp;gt; Perfromance monitors -&amp;gt; System Properties.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds,&lt;BR /&gt;&lt;BR /&gt;Ajit</description>
      <pubDate>Tue, 31 Jan 2006 05:15:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-pa-risc-version/m-p/3720632#M252738</guid>
      <dc:creator>Ajitkumar Rane</dc:creator>
      <dc:date>2006-01-31T05:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine PA-RISC version?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-pa-risc-version/m-p/3720633#M252739</link>
      <description>Well, as muthu suggested "file /stand/vmunix" is the simplest of doing it.&lt;BR /&gt;&lt;BR /&gt;I would like to suggest one more. :)&lt;BR /&gt;&lt;BR /&gt;Use print manifest, it will clearly mention you the OS mode, whether it is 32 or 64 bit.&lt;BR /&gt;&lt;BR /&gt;# /opt/ignite/bin/print_manifest &amp;gt; /myfile&lt;BR /&gt;# cat /myfile&lt;BR /&gt;&lt;BR /&gt;Look for the system hardware information, for e.g. one of my system shows as:&lt;BR /&gt;&lt;BR /&gt;System Hardware&lt;BR /&gt;&lt;BR /&gt;    Model:              9000/800/A500-44&lt;BR /&gt;    Main Memory:        3072 MB&lt;BR /&gt;    Processors:         2&lt;BR /&gt;    OS mode:            64 bit&lt;BR /&gt;    LAN hardware ID:    0x00306E03091C&lt;BR /&gt;    LAN hardware ID:    0x001083187C0D&lt;BR /&gt;    LAN hardware ID:    0x001083187C2D&lt;BR /&gt;    LAN hardware ID:    0x00108318DC23&lt;BR /&gt;    LAN hardware ID:    0x000000000000&lt;BR /&gt;    LAN hardware ID:    0x000000000000&lt;BR /&gt;    LAN hardware ID:    0x000000000000&lt;BR /&gt;    LAN hardware ID:    0x000000000000&lt;BR /&gt;    Software ID:        565740558&lt;BR /&gt;    Keyboard Language:  Not_Applicable&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hope that helps,&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 31 Jan 2006 06:11:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-pa-risc-version/m-p/3720633#M252739</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2006-01-31T06:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine PA-RISC version?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-pa-risc-version/m-p/3720634#M252740</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;Simply doing a 'file' on /stand/vmunix is not useful for older machines.  For example, an old K200 running 10.20 would return:&lt;BR /&gt;&lt;BR /&gt;# file /stand/vmunix&lt;BR /&gt;/stand/vmunix:  s800 executable -not stripped&lt;BR /&gt;&lt;BR /&gt;Yet:&lt;BR /&gt;&lt;BR /&gt;# grep $(printf "0x%x" $(getconf _SC_CPU_VERSION)) /usr/include/sys/unistd.h&lt;BR /&gt;&lt;BR /&gt;returns:&lt;BR /&gt;&lt;BR /&gt;#  define CPU_PA_RISC1_1  0x210 /* HP PA-RISC1.1 */&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Tue, 31 Jan 2006 09:05:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-pa-risc-version/m-p/3720634#M252740</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2006-01-31T09:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to determine PA-RISC version?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-pa-risc-version/m-p/3720635#M252741</link>
      <description>There is one more way to find out from the model script&lt;BR /&gt;&lt;BR /&gt;# model&lt;BR /&gt;9000/800/A500-7X&lt;BR /&gt;#&lt;BR /&gt;# grep A500-7X /usr/sam/lib/mo/sched.models&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The second field is the PA-RISC version.</description>
      <pubDate>Tue, 31 Jan 2006 09:27:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-determine-pa-risc-version/m-p/3720635#M252741</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2006-01-31T09:27:57Z</dc:date>
    </item>
  </channel>
</rss>

