<?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: C Programming question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/c-programming-question/m-p/2780459#M722516</link>
    <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Some code was posted a while back that may do what you want:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xdcbb3a7b3682d611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xdcbb3a7b3682d611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If the link doesn't work, search the forums on 11i mpctl.&lt;BR /&gt;&lt;BR /&gt;-Dave&lt;BR /&gt;</description>
    <pubDate>Tue, 06 Aug 2002 12:06:17 GMT</pubDate>
    <dc:creator>David Johns</dc:creator>
    <dc:date>2002-08-06T12:06:17Z</dc:date>
    <item>
      <title>C Programming question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/c-programming-question/m-p/2780456#M722513</link>
      <description>Hi,&lt;BR /&gt;   I want my (user) process to be attached to a specific processor in a multiprocessor system (4 CPUs).  If I have 3 processes (p1, p2, p3) and CPUs (c1, c2, c3, c4), I want process p1 to run only on c1, p2 on c2 etc.&lt;BR /&gt;&lt;BR /&gt;    Is this possible? Any kind of pointers will help me.  Thank you in advance.&lt;BR /&gt;&lt;BR /&gt;Arun.</description>
      <pubDate>Tue, 06 Aug 2002 11:08:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/c-programming-question/m-p/2780456#M722513</guid>
      <dc:creator>S.T.Arun</dc:creator>
      <dc:date>2002-08-06T11:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: C Programming question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/c-programming-question/m-p/2780457#M722514</link>
      <description>To my knowledge I don't think you can attach a process to a specific processor.&lt;BR /&gt;&lt;BR /&gt;There are some openview tools from hp which can allocate some amount of % usage of CPU to a process or user.&lt;BR /&gt;&lt;BR /&gt;The tool is the Process Resource Manager.&lt;BR /&gt;&lt;BR /&gt;Just find some information at&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/B8733-90007/B8733-90007.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/B8733-90007/B8733-90007.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 06 Aug 2002 11:30:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/c-programming-question/m-p/2780457#M722514</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2002-08-06T11:30:18Z</dc:date>
    </item>
    <item>
      <title>Re: C Programming question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/c-programming-question/m-p/2780458#M722515</link>
      <description>see manpage for; &lt;BR /&gt;&lt;BR /&gt; pthread_processor_bind_np(3T)                 pthread_processor_bind_np(3T)&lt;BR /&gt;                               Pthread Library&lt;BR /&gt;&lt;BR /&gt; NAME&lt;BR /&gt;      pthread_num_processors_np(), pthread_processor_bind_np(),&lt;BR /&gt;      pthread_processor_id_np() - determine how many processors are&lt;BR /&gt;      installed in the system, bind threads to processors, and determine&lt;BR /&gt;      processor IDs; respectively.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Aug 2002 11:31:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/c-programming-question/m-p/2780458#M722515</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2002-08-06T11:31:21Z</dc:date>
    </item>
    <item>
      <title>Re: C Programming question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/c-programming-question/m-p/2780459#M722516</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Some code was posted a while back that may do what you want:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xdcbb3a7b3682d611abdb0090277a778c,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xdcbb3a7b3682d611abdb0090277a778c,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If the link doesn't work, search the forums on 11i mpctl.&lt;BR /&gt;&lt;BR /&gt;-Dave&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Aug 2002 12:06:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/c-programming-question/m-p/2780459#M722516</guid>
      <dc:creator>David Johns</dc:creator>
      <dc:date>2002-08-06T12:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: C Programming question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/c-programming-question/m-p/2780460#M722517</link>
      <description>yea, you'll need this patch + dependencies for 11i:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://support4.itrc.hp.com/service/patch/patchDetail.do?patchid=PHKL_24578&amp;amp;context=hpux:800:11:11" target="_blank"&gt;http://support4.itrc.hp.com/service/patch/patchDetail.do?patchid=PHKL_24578&amp;amp;context=hpux:800:11:11&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Later,&lt;BR /&gt;Bill</description>
      <pubDate>Tue, 06 Aug 2002 12:21:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/c-programming-question/m-p/2780460#M722517</guid>
      <dc:creator>Bill McNAMARA_1</dc:creator>
      <dc:date>2002-08-06T12:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: C Programming question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/c-programming-question/m-p/2780461#M722518</link>
      <description>You can also do this non-programmatically on 11i using the mpsched(1) command:&lt;BR /&gt;&lt;BR /&gt;$ mpsched -c1 ./p1&lt;BR /&gt;&lt;BR /&gt;This will bind the p1 command to SPU 1.  Remember the SPU numbers start at 0.&lt;BR /&gt;&lt;BR /&gt;See the man page for more info.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Steve</description>
      <pubDate>Tue, 06 Aug 2002 13:39:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/c-programming-question/m-p/2780461#M722518</guid>
      <dc:creator>Steven Gillard_2</dc:creator>
      <dc:date>2002-08-06T13:39:43Z</dc:date>
    </item>
  </channel>
</rss>

