<?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: Cpu Model in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051937#M304652</link>
    <description>Once someone has written a machinfo for pa-risc in C and posted the code in this forum but i can't find the thread anymore. maybe someone has add it to his favourite...</description>
    <pubDate>Wed, 08 Aug 2007 10:38:57 GMT</pubDate>
    <dc:creator>Oviwan</dc:creator>
    <dc:date>2007-08-08T10:38:57Z</dc:date>
    <item>
      <title>Cpu Model</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051926#M304641</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a problem for retrieve the specific cpu model (like pa8900 etc etc) on partitionable server. I have tried by cstm, but the model do not appears. I need to retrieve it from a shell script and I can't use sam (that reports the correct cpu model. How?)&lt;BR /&gt;&lt;BR /&gt;Can anyone help me?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Stefano</description>
      <pubDate>Wed, 08 Aug 2007 09:46:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051926#M304641</guid>
      <dc:creator>Stefano Ferri</dc:creator>
      <dc:date>2007-08-08T09:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cpu Model</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051927#M304642</link>
      <description>Hey&lt;BR /&gt;&lt;BR /&gt;what about "machinfo"?&lt;BR /&gt;&lt;BR /&gt;Regards</description>
      <pubDate>Wed, 08 Aug 2007 09:49:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051927#M304642</guid>
      <dc:creator>Oviwan</dc:creator>
      <dc:date>2007-08-08T09:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Cpu Model</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051928#M304643</link>
      <description>Hi Oviwan,&lt;BR /&gt;&lt;BR /&gt;the machinfo command run only on integrity system (itanium2), I need cpu model for pa-risc architetture.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Stefano</description>
      <pubDate>Wed, 08 Aug 2007 09:53:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051928#M304643</guid>
      <dc:creator>Stefano Ferri</dc:creator>
      <dc:date>2007-08-08T09:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: Cpu Model</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051929#M304644</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Oviwan: &amp;gt; what about "machinfo"?&lt;BR /&gt;&lt;BR /&gt;'machinfo' applies only to Itanium processors.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Wed, 08 Aug 2007 09:55:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051929#M304644</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-08-08T09:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Cpu Model</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051930#M304645</link>
      <description>If you have Ignite loaded, try the /opt/ignite/bin/print_manifest command.&lt;BR /&gt;&lt;BR /&gt;Look at the Model under System Hardware.</description>
      <pubDate>Wed, 08 Aug 2007 10:01:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051930#M304645</guid>
      <dc:creator>Keith Johnson</dc:creator>
      <dc:date>2007-08-08T10:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cpu Model</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051931#M304646</link>
      <description>Hi Keith Johnson,&lt;BR /&gt;&lt;BR /&gt;I have already tried the print_manifest command, but it reports the string model (ex 9000/800/rp4440). I need of cpu model as pa8900,pa8700 etc. etc.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Stefano</description>
      <pubDate>Wed, 08 Aug 2007 10:09:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051931#M304646</guid>
      <dc:creator>Stefano Ferri</dc:creator>
      <dc:date>2007-08-08T10:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Cpu Model</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051932#M304647</link>
      <description>It doesn't work in all cases, but try "getconf CPU_CHIP_TYPE".&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 08 Aug 2007 10:16:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051932#M304647</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2007-08-08T10:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Cpu Model</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051933#M304648</link>
      <description>Hi Randal,&lt;BR /&gt;&lt;BR /&gt;The output is the following:&lt;BR /&gt;&lt;BR /&gt;getconf CPU_CHIP_TYPE&lt;BR /&gt;613&lt;BR /&gt;&lt;BR /&gt;Is It an ID that reference processor specific model?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Stefano</description>
      <pubDate>Wed, 08 Aug 2007 10:20:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051933#M304648</guid>
      <dc:creator>Stefano Ferri</dc:creator>
      <dc:date>2007-08-08T10:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: Cpu Model</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051934#M304649</link>
      <description>&lt;!--!*#--&gt;Stefano,&lt;BR /&gt;&lt;BR /&gt;Better yet, try this:&lt;BR /&gt;&lt;BR /&gt;$ MODEL=$(grep -i $(model | tr "/" " " \&lt;BR /&gt;&amp;gt;         | awk '{print $NF}') \&lt;BR /&gt;        /usr/sam/lib/mo/sched.models \&lt;BR /&gt;&amp;gt;         | awk '{print $NF}') \&lt;BR /&gt;&amp;gt;         /usr/sam/lib/mo/sched.models \&lt;BR /&gt;&amp;gt;         | awk '{print $NF}')&lt;BR /&gt;$ echo $MODEL&lt;BR /&gt;PA8500</description>
      <pubDate>Wed, 08 Aug 2007 10:21:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051934#M304649</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2007-08-08T10:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Cpu Model</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051935#M304650</link>
      <description>&lt;!--!*#--&gt;Oops, make that:&lt;BR /&gt;&lt;BR /&gt;$ MODEL=$(grep -i $(model | tr "/" " " \&lt;BR /&gt;&amp;gt;         | awk '{print $NF}') \&lt;BR /&gt;        /usr/sam/lib/mo/sched.models \&lt;BR /&gt;&amp;gt;         | awk '{print $NF}') \&lt;BR /&gt;&lt;BR /&gt;$ echo $MODEL&lt;BR /&gt;PA8500</description>
      <pubDate>Wed, 08 Aug 2007 10:23:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051935#M304650</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2007-08-08T10:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cpu Model</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051936#M304651</link>
      <description>Randall,&lt;BR /&gt;&lt;BR /&gt;I have tried this method yet, but it is compatible with few servers model, and in these files there isn't any partitionable server (like superdome), for example I looking for SD64000.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Stefano</description>
      <pubDate>Wed, 08 Aug 2007 10:29:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051936#M304651</guid>
      <dc:creator>Stefano Ferri</dc:creator>
      <dc:date>2007-08-08T10:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Cpu Model</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051937#M304652</link>
      <description>Once someone has written a machinfo for pa-risc in C and posted the code in this forum but i can't find the thread anymore. maybe someone has add it to his favourite...</description>
      <pubDate>Wed, 08 Aug 2007 10:38:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051937#M304652</guid>
      <dc:creator>Oviwan</dc:creator>
      <dc:date>2007-08-08T10:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Cpu Model</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051938#M304653</link>
      <description>Why do you need to retrieve the CPU model?&lt;BR /&gt;&lt;BR /&gt;If you are writing an application which&lt;BR /&gt;depends on the instruction set architecture&lt;BR /&gt;being PA1.1 vs. PA2.0 vs. IA64, then use&lt;BR /&gt;getconf CPU_VERSION.  The return value can&lt;BR /&gt;be decoded using &lt;SYS&gt; (see&lt;BR /&gt;sysconf(2)).&lt;BR /&gt;&lt;BR /&gt;getconf CPU_CHIP_TYPE seems to be for IA64&lt;BR /&gt;only.  You could probably decode the value&lt;BR /&gt;if you had access to the IPF docs (see&lt;BR /&gt;sysconf(2)).javascript&amp;amp;colon;postAnswerSubmit('submit');&lt;BR /&gt;Submit &lt;BR /&gt;&lt;/SYS&gt;</description>
      <pubDate>Wed, 08 Aug 2007 13:50:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051938#M304653</guid>
      <dc:creator>Gregory Fruth</dc:creator>
      <dc:date>2007-08-08T13:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Cpu Model</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051939#M304654</link>
      <description>Hi Gregory,&lt;BR /&gt;&lt;BR /&gt;I need of this information for inventory reason. I must to collect the cpu detailed info,(speed,model etc etc), I have all information and I must to have the specific cpu model for pa-risc servers.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Stefano</description>
      <pubDate>Thu, 09 Aug 2007 05:06:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051939#M304654</guid>
      <dc:creator>Stefano Ferri</dc:creator>
      <dc:date>2007-08-09T05:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: Cpu Model</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051940#M304655</link>
      <description>Evidently HP believes that user programs&lt;BR /&gt;have no business querying the CPU model,&lt;BR /&gt;because AFAICT they have provided no&lt;BR /&gt;documented way to get it.  You would be&lt;BR /&gt;better off getting the info using SAM or&lt;BR /&gt;by looking at the original purchase&lt;BR /&gt;invoices.&lt;BR /&gt;&lt;BR /&gt;However, if you simply MUST get the CPU&lt;BR /&gt;model programmatically, here are some&lt;BR /&gt;options you can try:&lt;BR /&gt;&lt;BR /&gt;1) Open a support call with HP.  Perhaps a&lt;BR /&gt;sympathetic engineer from the SAM team will&lt;BR /&gt;tell you how SAM gets the information.&lt;BR /&gt;My guess is that SAM is either using the&lt;BR /&gt;sched.models file (which can be in both&lt;BR /&gt;/usr/lib and in /opt/langtools/lib) or is&lt;BR /&gt;calling an API which is not normally&lt;BR /&gt;available to the user.&lt;BR /&gt;&lt;BR /&gt;2) Use "expect" to start SAM in text (ASCII)&lt;BR /&gt;mode and retrieve the model number from there.  I believe you can configure SAM so&lt;BR /&gt;that regular users can only use certain&lt;BR /&gt;areas of SAM.&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Aug 2007 13:34:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051940#M304655</guid>
      <dc:creator>Gregory Fruth</dc:creator>
      <dc:date>2007-08-09T13:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cpu Model</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051941#M304656</link>
      <description>&amp;gt;Gregory: My guess is that SAM is either using the sched.models file (which can be in both /usr/lib and in /opt/langtools/lib)&lt;BR /&gt;&lt;BR /&gt;This may be pretty useless since we stopped adding new models to the compiler's sched.models because we use system calls.</description>
      <pubDate>Thu, 09 Aug 2007 21:18:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051941#M304656</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-09T21:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Cpu Model</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051942#M304657</link>
      <description>'machinfo' applies only to Itanium processors.&lt;BR /&gt;If you have Ignite loaded, try the /opt/ignite/bin/print_manifest &lt;BR /&gt;#cstm&lt;BR /&gt;#selall&lt;BR /&gt;#map&lt;BR /&gt;#infolog --- will show you detailed information of all your components installed on system.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;deep</description>
      <pubDate>Fri, 10 Aug 2007 00:57:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051942#M304657</guid>
      <dc:creator>dipesh_2</dc:creator>
      <dc:date>2007-08-10T00:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cpu Model</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051943#M304658</link>
      <description>dipesh,&lt;BR /&gt;&lt;BR /&gt;I cannot use cstm because on partitionable server don't display the cpu model... It work only on 'not partitionable server'.&lt;BR /&gt;&lt;BR /&gt;Stefano</description>
      <pubDate>Fri, 10 Aug 2007 04:14:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051943#M304658</guid>
      <dc:creator>Stefano Ferri</dc:creator>
      <dc:date>2007-08-10T04:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Cpu Model</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051944#M304659</link>
      <description>Try this!!&lt;BR /&gt;#model&lt;BR /&gt;9000/800/A500-44&lt;BR /&gt;cat /usr/sam/lib/mo/sched.models|grep "A500-44"&lt;BR /&gt;in your case file location may be &lt;BR /&gt;/usr/lib/sched.models.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Awadhesh</description>
      <pubDate>Fri, 10 Aug 2007 06:18:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/cpu-model/m-p/4051944#M304659</guid>
      <dc:creator>AwadheshPandey</dc:creator>
      <dc:date>2007-08-10T06:18:59Z</dc:date>
    </item>
  </channel>
</rss>

