<?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: nkthread in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3909771#M284348</link>
    <description>That's because you are using the bundled C compiler that comes standard with the operating system. It's not ANSI C compliant and is primarily used for doing kernel builds. You need to purchase HP's ANSI-C product in order to compile and execute the C program successfully.</description>
    <pubDate>Fri, 08 Dec 2006 12:27:11 GMT</pubDate>
    <dc:creator>Sandman!</dc:creator>
    <dc:date>2006-12-08T12:27:11Z</dc:date>
    <item>
      <title>nkthread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3909768#M284345</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How can I check the current usage of nkthread on HP-UX B.11.00 U?</description>
      <pubDate>Fri, 08 Dec 2006 01:39:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3909768#M284345</guid>
      <dc:creator>HPIT_UX_MPE</dc:creator>
      <dc:date>2006-12-08T01:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: nkthread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3909769#M284346</link>
      <description>Hi,&lt;BR /&gt;and welcome to the forums !&lt;BR /&gt;&lt;BR /&gt;Please see:&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=940966" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=940966&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you want to read about performance:&lt;BR /&gt;h21007.www2.hp.com/dspp/files/unprotected/devresource/Docs/TechPapers/UXPerfCookBook.pdf&lt;BR /&gt;&lt;BR /&gt;Please also read:&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; on how to reward any useful answers given to your questions.</description>
      <pubDate>Fri, 08 Dec 2006 04:06:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3909769#M284346</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-12-08T04:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: nkthread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3909770#M284347</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;But this does not work on 11.00&lt;BR /&gt;&lt;BR /&gt;cc aaa.c&lt;BR /&gt;(Bundled) cc: "aaa.c", line 12: error 1588: "psd_numkthreadsallocd" undefined.&lt;BR /&gt;(Bundled) cc: "aaa.c", line 12: error 1531: Invalid member of struct or union.&lt;BR /&gt;(Bundled) cc: "aaa.c", line 13: error 1588: "psd_maxkthreads" undefined.&lt;BR /&gt;(Bundled) cc: "aaa.c", line 13: error 1531: Invalid member of struct or union.&lt;BR /&gt;(Bundled) cc: "aaa.c", line 14: error 1588: "psd_numprocsallocd" undefined.&lt;BR /&gt;(Bundled) cc: "aaa.c", line 14: error 1531: Invalid member of struct or union.&lt;BR /&gt;(Bundled) cc: "aaa.c", line 15: error 1588: "psd_maxprocs" undefined.&lt;BR /&gt;(Bundled) cc: "aaa.c", line 15: error 1531: Invalid member of struct or union.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; cat aaa.c&lt;BR /&gt;#include &lt;SYS&gt;&lt;BR /&gt;#include &lt;SYS&gt;&lt;BR /&gt;#include &lt;SYS&gt;&lt;BR /&gt;&lt;BR /&gt;int main()&lt;BR /&gt;{&lt;BR /&gt;struct pst_dynamic dyn;&lt;BR /&gt;int error;&lt;BR /&gt;&lt;BR /&gt;if ( pstat_getdynamic( &amp;amp;dyn, sizeof(dyn), 1, 0) == 1 )&lt;BR /&gt;{&lt;BR /&gt;printf("Thread usage: %d of %d\n", dyn.psd_numkthreadsallocd,&lt;BR /&gt;dyn.psd_maxkthreads);&lt;BR /&gt;printf("Proc usage: %d of %d\n", dyn.psd_numprocsallocd,&lt;BR /&gt;dyn.psd_maxprocs);&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;perror("pstat_getdynamic:");&lt;BR /&gt;}&lt;/SYS&gt;&lt;/SYS&gt;&lt;/SYS&gt;</description>
      <pubDate>Fri, 08 Dec 2006 04:57:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3909770#M284347</guid>
      <dc:creator>HPIT_UX_MPE</dc:creator>
      <dc:date>2006-12-08T04:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: nkthread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3909771#M284348</link>
      <description>That's because you are using the bundled C compiler that comes standard with the operating system. It's not ANSI C compliant and is primarily used for doing kernel builds. You need to purchase HP's ANSI-C product in order to compile and execute the C program successfully.</description>
      <pubDate>Fri, 08 Dec 2006 12:27:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3909771#M284348</guid>
      <dc:creator>Sandman!</dc:creator>
      <dc:date>2006-12-08T12:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: nkthread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3909772#M284349</link>
      <description>Here is a link that might be useful.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=793765&amp;amp;admit=-682735245+1165598194600+28353475" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=793765&amp;amp;admit=-682735245+1165598194600+28353475&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Andy</description>
      <pubDate>Fri, 08 Dec 2006 12:42:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3909772#M284349</guid>
      <dc:creator>Sheriff Andy</dc:creator>
      <dc:date>2006-12-08T12:42:10Z</dc:date>
    </item>
  </channel>
</rss>

