<?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 identify processor? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897073#M772071</link>
    <description>Costin,&lt;BR /&gt;if it helps (from my machine):&lt;BR /&gt;$ grep B1000 /usr/sam/lib/mo/sched.models &lt;BR /&gt;B1000   2.0     PA8500&lt;BR /&gt;&lt;BR /&gt;which cstm&lt;BR /&gt;/usr/sbin/cstm&lt;BR /&gt;&lt;BR /&gt;I would suggest:&lt;BR /&gt;1. you load the cstm etc tools.&lt;BR /&gt;2. Update to 11.11 ,as 11.00 support ends 31/12/06&lt;BR /&gt;</description>
    <pubDate>Mon, 13 Nov 2006 08:23:01 GMT</pubDate>
    <dc:creator>Peter Godron</dc:creator>
    <dc:date>2006-11-13T08:23:01Z</dc:date>
    <item>
      <title>how to identify processor?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897063#M772061</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How can I find out in hpux what processor do I have?&lt;BR /&gt;&lt;BR /&gt;I can only find my machine type:&lt;BR /&gt;bash-2.03# model&lt;BR /&gt;9000/785/B1000&lt;BR /&gt;&lt;BR /&gt;How do I get the processor type? I need something like PA8500...&lt;BR /&gt;&lt;BR /&gt;It does not matter if it is C++ code or shell command...&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Costin&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Nov 2006 07:32:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897063#M772061</guid>
      <dc:creator>Costin Apostol</dc:creator>
      <dc:date>2006-11-13T07:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to identify processor?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897064#M772062</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;model command.&lt;BR /&gt;&lt;BR /&gt;Better yet, &lt;A href="http://docs.hp.com" target="_blank"&gt;http://docs.hp.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It says exactly what processor is in your system.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 13 Nov 2006 07:37:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897064#M772062</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-11-13T07:37:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to identify processor?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897065#M772063</link>
      <description>Hi,&lt;BR /&gt;use SAM (System Properties)&lt;BR /&gt;and/or read:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=558731" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=558731&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please also see:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/helptips.do?#33" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/helptips.do?#33&lt;/A&gt;</description>
      <pubDate>Mon, 13 Nov 2006 07:38:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897065#M772063</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-11-13T07:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to identify processor?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897066#M772064</link>
      <description>I really need a C++ code or shell command...&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Mon, 13 Nov 2006 07:39:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897066#M772064</guid>
      <dc:creator>Costin Apostol</dc:creator>
      <dc:date>2006-11-13T07:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to identify processor?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897067#M772065</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;echo "selclass type proc;info;wait;infolog" | cstm &lt;BR /&gt;&lt;BR /&gt;This should help you i think&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;siva</description>
      <pubDate>Mon, 13 Nov 2006 07:44:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897067#M772065</guid>
      <dc:creator>siva0123</dc:creator>
      <dc:date>2006-11-13T07:44:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to identify processor?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897068#M772066</link>
      <description>C ostin,&lt;BR /&gt;please read the info in the link I provided.&lt;BR /&gt;&lt;BR /&gt;In Procura's answer are a number of ways of getting the info:&lt;BR /&gt;&lt;BR /&gt; echo "selclass qualifier cpu;infolog" | /usr/sbin/cstm | grep "CPU Module"</description>
      <pubDate>Mon, 13 Nov 2006 07:46:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897068#M772066</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-11-13T07:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to identify processor?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897069#M772067</link>
      <description>Try this:&lt;BR /&gt;&lt;BR /&gt;MODEL=$(grep -i $(model | tr "/" " " \&lt;BR /&gt;        | awk '{print $NF}') \&lt;BR /&gt;        /usr/sam/lib/mo/sched.models \&lt;BR /&gt;        | awk '{print $NF}')&lt;BR /&gt;echo $MODEL&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 13 Nov 2006 07:49:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897069#M772067</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-11-13T07:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to identify processor?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897070#M772068</link>
      <description>Sorry, none worked :(&lt;BR /&gt;&lt;BR /&gt;1. /usr/sam/lib/mo/sched.models does not contain B1000 on my machine.&lt;BR /&gt;&lt;BR /&gt;2. cstm, mstm, xstm do not exist on my machine.&lt;BR /&gt;&lt;BR /&gt;Do you think I have any chance to get the information I need?&lt;BR /&gt;&lt;BR /&gt;bash-2.03# uname -a&lt;BR /&gt;HP-UX Janus B.11.00 U 9000/785 2014840735 unlimited-user license&lt;BR /&gt;&lt;BR /&gt;bash-2.03# model&lt;BR /&gt;9000/785/B1000&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Nov 2006 08:09:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897070#M772068</guid>
      <dc:creator>Costin Apostol</dc:creator>
      <dc:date>2006-11-13T08:09:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to identify processor?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897071#M772069</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;If there is now way to find it , why dont you hardcode it in your program.&lt;BR /&gt;&lt;BR /&gt;9000/785/B1000 has the following processor &lt;BR /&gt;PA 8500 processor at 300MHz&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;siva</description>
      <pubDate>Mon, 13 Nov 2006 08:16:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897071#M772069</guid>
      <dc:creator>siva0123</dc:creator>
      <dc:date>2006-11-13T08:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: how to identify processor?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897072#M772070</link>
      <description>Well, I can tell you that your B1000 has a PA-8500 processor that runs at either 300 or 400 Mhz, if that helps.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Mon, 13 Nov 2006 08:22:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897072#M772070</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2006-11-13T08:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to identify processor?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897073#M772071</link>
      <description>Costin,&lt;BR /&gt;if it helps (from my machine):&lt;BR /&gt;$ grep B1000 /usr/sam/lib/mo/sched.models &lt;BR /&gt;B1000   2.0     PA8500&lt;BR /&gt;&lt;BR /&gt;which cstm&lt;BR /&gt;/usr/sbin/cstm&lt;BR /&gt;&lt;BR /&gt;I would suggest:&lt;BR /&gt;1. you load the cstm etc tools.&lt;BR /&gt;2. Update to 11.11 ,as 11.00 support ends 31/12/06&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Nov 2006 08:23:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897073#M772071</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-11-13T08:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: how to identify processor?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897074#M772072</link>
      <description>The only way to find my information seems to be &lt;BR /&gt;&lt;BR /&gt;bash-2.03# model&lt;BR /&gt;9000/785/B1000&lt;BR /&gt;&lt;BR /&gt;bash-2.03# cat /usr/sam/lib/mo/sched.models | grep 785&lt;BR /&gt;785  2.0   PA8500&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;But can I trust this information?&lt;BR /&gt;In &lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=558731" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=558731&lt;/A&gt;&lt;BR /&gt;i find that:&lt;BR /&gt;&lt;BR /&gt;d3:/wrk 105 &amp;gt; model&lt;BR /&gt;9000/800/D390&lt;BR /&gt;d3:/wrk 105 &amp;gt; grep -i d390 /opt/langtools/lib/sched.models&lt;BR /&gt;D390 2.0 PA8200&lt;BR /&gt;d3:/wrk 106 &amp;gt; grep -i d390 /usr/sam/lib/mo/sched.models&lt;BR /&gt;D390 2.0 PA8000&lt;BR /&gt;d3:/wrk 107 &amp;gt; echo "selclass qualifier cpu;info;wait;infolog" | /usr/sbin/cstm | grep "CPU Module"&lt;BR /&gt;PA 8200 CPU Module 5.1 &lt;BR /&gt;&lt;BR /&gt;Diffent commands, different values. Who do I trust?&lt;BR /&gt;&lt;BR /&gt;The program will run on various machines, not only mine, and should give accurate results.</description>
      <pubDate>Mon, 13 Nov 2006 08:27:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897074#M772072</guid>
      <dc:creator>Costin Apostol</dc:creator>
      <dc:date>2006-11-13T08:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to identify processor?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897075#M772073</link>
      <description>did you try my script (1) that incorporates all the tests?&lt;BR /&gt;I have explained most of it in the FAQ (2)&lt;BR /&gt;&lt;BR /&gt;1: &lt;A href="http://mirrors.develooper.com/hpux/ux" target="_blank"&gt;http://mirrors.develooper.com/hpux/ux&lt;/A&gt;&lt;BR /&gt;2: &lt;A href="http://mirrors.develooper.com/hpux/faq.html" target="_blank"&gt;http://mirrors.develooper.com/hpux/faq.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;# ux&lt;BR /&gt;a5  HP-UX 11.00/64 U  9000/800/A500-7X/64 PA8700/750(2) pa-2.0  2048 Mb&lt;BR /&gt;&lt;BR /&gt;And when you're in doubt, the cstm command gives more reliable info the the grep from the static files. The above mentioned script prefers the files over the command, as that is both faster and never needs su permissions.&lt;BR /&gt;&lt;BR /&gt;If you have the perl module Unix::Processors installed, try this:&lt;BR /&gt;&lt;BR /&gt;# perl -MUnix::Processors -le'print join"\t",$_-&amp;gt;id,$_-&amp;gt;state,$_-&amp;gt;type,$_-&amp;gt;clock for @{Unix::Processors-&amp;gt;new()-&amp;gt;processors}'&lt;BR /&gt;0       online  HP PA-RISC 2.0  750&lt;BR /&gt;1       online  HP PA-RISC 2.0  750&lt;BR /&gt;&lt;BR /&gt;but as you see, that won't give you the *exact* type.&lt;BR /&gt;&lt;BR /&gt;perl also supports syscall ()'s, and in the "ux" script on line 58 and on, you see how that can be used to call syscall (239, ...) which is the SYS_pstat call, and the second argument being 10 is the PSTAT_PROCESSOR request, /usr/include/sys/pstat.h will show you more.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn</description>
      <pubDate>Mon, 13 Nov 2006 08:57:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897075#M772073</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2006-11-13T08:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to identify processor?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897076#M772074</link>
      <description>to get all your device info you can run this&lt;BR /&gt;as root&lt;BR /&gt;&lt;BR /&gt;echo "selclass qualifier all;info;wait;infolog" | cstm | tee -a device.log&lt;BR /&gt;&lt;BR /&gt;(It includes the model command)&lt;BR /&gt;&lt;BR /&gt;And look for the cpu part in your device.log&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 13 Nov 2006 09:29:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897076#M772074</guid>
      <dc:creator>Frank de Vries</dc:creator>
      <dc:date>2006-11-13T09:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: how to identify processor?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897077#M772075</link>
      <description>Oops forgot to upload the output file:&lt;BR /&gt;The section you need to look for &lt;BR /&gt;in device.log</description>
      <pubDate>Mon, 13 Nov 2006 09:31:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897077#M772075</guid>
      <dc:creator>Frank de Vries</dc:creator>
      <dc:date>2006-11-13T09:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: how to identify processor?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897078#M772076</link>
      <description>&lt;!--!*#--&gt;You can get the *exact* model with this C program snippet, but (for now) only as a code, not as a CPU type string ...&lt;BR /&gt;&lt;BR /&gt;--8&amp;lt;--- xx.c&lt;BR /&gt;#include &lt;UNISTD.H&gt;&lt;BR /&gt;#include &lt;ERRNO.H&gt;&lt;BR /&gt;&lt;BR /&gt;int main (int argc, char *argv[])&lt;BR /&gt;{&lt;BR /&gt;    long sc = sysconf (_SC_CPU_CHIP_TYPE);&lt;BR /&gt;    printf ("sysconf (%d CPU_CHIP_TYPE) = %ld\n", _SC_CPU_CHIP_TYPE, sc);&lt;BR /&gt;    return (errno);&lt;BR /&gt;    } /* main */&lt;BR /&gt;--&amp;gt;8---&lt;BR /&gt;&lt;BR /&gt;Above code is unsupported on HP-UX 10.20&lt;BR /&gt;&lt;BR /&gt;# cc +DD64 -O -o xx xx.c&lt;BR /&gt;# ./xx&lt;BR /&gt;sysconf (10023 CPU_CHIP_TYPE) = 616&lt;BR /&gt;# &lt;BR /&gt;&lt;BR /&gt;Local tests here reveal:&lt;BR /&gt;&lt;BR /&gt;PA8500   :       552 (0x00000228)&lt;BR /&gt;PA8700   :       616 (0x00000268)&lt;BR /&gt;PA8800   :       644 (0x00000284)&lt;BR /&gt;Itanium2 : 520225284 (0x1F020204)&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn&lt;/ERRNO.H&gt;&lt;/UNISTD.H&gt;</description>
      <pubDate>Mon, 13 Nov 2006 09:33:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897078#M772076</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2006-11-13T09:33:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to identify processor?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897079#M772077</link>
      <description>&lt;!--!*#--&gt;That C snippet is (of course :) :) also doable from the command line&lt;BR /&gt;&lt;BR /&gt;# getconf CPU_CHIP_TYPE&lt;BR /&gt;616&lt;BR /&gt;&lt;BR /&gt;On 10.20 you still get&lt;BR /&gt;getconf CPU_CHIP_TYPE: Invalid argument&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.openpa.net/cpu.html#table" target="_blank"&gt;http://www.openpa.net/cpu.html#table&lt;/A&gt; lists the hardware combo's, but not those values.&lt;BR /&gt;&lt;BR /&gt;That made me google on CPU_CHIP_TYPE, and though rather dated, still interesting:&lt;BR /&gt;&lt;A href="http://unix.derkeiler.com/Mailing-Lists/HP-UX-Admin/2003-04/0003.html" target="_blank"&gt;http://unix.derkeiler.com/Mailing-Lists/HP-UX-Admin/2003-04/0003.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And a useful reference to some older discussion here, so I don't need to repeat myself:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=21381" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=21381&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Now, 'man confstr', which should yield the string representation of the code found by getconf (), is wrong (all _SC_'s written as _CS_), but that aside, it still returns zilch:&lt;BR /&gt;&lt;BR /&gt;--8&amp;lt;---&lt;BR /&gt;#include &lt;UNISTD.H&gt;&lt;BR /&gt;#include &lt;STDDEF.H&gt;&lt;BR /&gt;#include &lt;ERRNO.H&gt;&lt;BR /&gt;&lt;BR /&gt;extern void *calloc (size_t, int);&lt;BR /&gt;&lt;BR /&gt;int main (int argc, char *argv[])&lt;BR /&gt;{&lt;BR /&gt;    size_t l;&lt;BR /&gt;    long   sc = sysconf (_SC_CPU_CHIP_TYPE);&lt;BR /&gt;    char   *cs = calloc (80, 1);&lt;BR /&gt;&lt;BR /&gt;    l = confstr (_SC_CPU_CHIP_TYPE, cs, 80);&lt;BR /&gt;    printf ("sysconf (%d CPU_CHIP_TYPE) = 0x%08lx (%12ld) '%s' (%d)\n",&lt;BR /&gt; _SC_CPU_CHIP_TYPE, sc, sc, cs, l);&lt;BR /&gt;    return (errno);&lt;BR /&gt;    } /* main */&lt;BR /&gt;--&amp;gt;8---&lt;BR /&gt;&lt;BR /&gt;/tmp 111 &amp;gt; ./xx&lt;BR /&gt;sysconf (10023 CPU_CHIP_TYPE) = 0x00000268 (         616) '' (0)&lt;BR /&gt;Exit 22&lt;BR /&gt;&lt;BR /&gt;Another interesting snippet from &lt;A href="http://www.unixguide.net/scripts/stats151" target="_blank"&gt;http://www.unixguide.net/scripts/stats151&lt;/A&gt;&lt;BR /&gt;--8&amp;lt;---&lt;BR /&gt;  # plan A (getconf CPU_CHIP_TYPE)&lt;BR /&gt;  ##################################&lt;BR /&gt;  if [ "$OSVER" -ge 1100 ]; then&lt;BR /&gt;    typeset -i2 bin&lt;BR /&gt;    bin=`getconf CPU_CHIP_TYPE`&lt;BR /&gt;    typeset -i16 hex&lt;BR /&gt;    hex=2#`echo $bin | sed -e 's/2#//' -e 's/.....$//'`&lt;BR /&gt;    model_num=`echo $hex | cut -c4-`&lt;BR /&gt;    case $model_num in&lt;BR /&gt;       b) model_name=PA7200   ;;&lt;BR /&gt;       d) model_name=PA7100LC ;;&lt;BR /&gt;       e) model_name=PA8000   ;;&lt;BR /&gt;       f) model_name=PA7300LC ;;&lt;BR /&gt;      10) model_name=PA8200   ;;&lt;BR /&gt;      11) model_name=PA8500   ;;&lt;BR /&gt;      12) model_name=PA8600   ;;&lt;BR /&gt;      13) model_name=PA8700   ;;&lt;BR /&gt;      14) model_name=PA8800   ;;&lt;BR /&gt;      15) model_name=PA8750   ;;&lt;BR /&gt;       *) model_name=         ;;&lt;BR /&gt;      esac&lt;BR /&gt;    [ -n "$model_name" ] &amp;amp;&amp;amp; { echo $model_name ; return 0 ; }&lt;BR /&gt;    fi&lt;BR /&gt;--&amp;gt;8---&lt;BR /&gt;&lt;BR /&gt;And the pointers continue:&lt;BR /&gt;--8&amp;lt;---&lt;BR /&gt;CPU_CHIP_TYPE      _SC_CPU_CHIP_TYPE      Itanium(R)-based systems:&lt;BR /&gt;                                           CPUID Register 3 of the&lt;BR /&gt;                                           Itanium-based processor&lt;BR /&gt;                                           identification registers.&lt;BR /&gt;                                           See the Itanium-based&lt;BR /&gt;                                           architecture definition for&lt;BR /&gt;                                           this platform for the&lt;BR /&gt;                                           meaning of each bit.&lt;BR /&gt;--&amp;gt;8---&lt;BR /&gt;&lt;BR /&gt;Enjoy, Have FUN! H.Merijn&lt;/ERRNO.H&gt;&lt;/STDDEF.H&gt;&lt;/UNISTD.H&gt;</description>
      <pubDate>Mon, 13 Nov 2006 13:33:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897079#M772077</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2006-11-13T13:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to identify processor?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897080#M772078</link>
      <description>Since all methods you suggested to me use dictionaries, I decided to use my own dictionary, based on `model` output and &lt;A href="http://hwdb.parisc-linux.org/." target="_blank"&gt;http://hwdb.parisc-linux.org/.&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Using sched.models is having the dictionary at user host.&lt;BR /&gt;Using cstm is imposible since it is not on every machine.&lt;BR /&gt;Using `getconf CPU_CHIP_TYPE` is still a dictionay method and it happens not to be too accurate.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Nov 2006 11:53:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-identify-processor/m-p/3897080#M772078</guid>
      <dc:creator>Costin Apostol</dc:creator>
      <dc:date>2006-11-15T11:53:16Z</dc:date>
    </item>
  </channel>
</rss>

