<?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/3585711#M230528</link>
    <description>#include &lt;SYS&gt;&lt;BR /&gt;#include &lt;SYS&gt;&lt;BR /&gt;#include &lt;SYS&gt;&lt;BR /&gt;&lt;BR /&gt;see man pstat ... that said I'm haivng problems myself getting it to work now ... &lt;BR /&gt;&lt;BR /&gt;appologies a bit busy at present.&lt;BR /&gt;&lt;/SYS&gt;&lt;/SYS&gt;&lt;/SYS&gt;</description>
    <pubDate>Wed, 20 Jul 2005 05:58:14 GMT</pubDate>
    <dc:creator>Alex Glennie</dc:creator>
    <dc:date>2005-07-20T05:58:14Z</dc:date>
    <item>
      <title>nkthread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3585707#M230524</link>
      <description>How can i see the online usages of nkthread?&lt;BR /&gt;kmtune give the maximum and dmesg give info if the kthread is full.</description>
      <pubDate>Tue, 19 Jul 2005 06:33:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3585707#M230524</guid>
      <dc:creator>Jannik</dc:creator>
      <dc:date>2005-07-19T06:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: nkthread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3585708#M230525</link>
      <description>cat &amp;gt; /tmp/nkthreads.c&lt;BR /&gt;&lt;BR /&gt;Paste in the following:&lt;BR /&gt;&lt;BR /&gt;#include &lt;BR /&gt;#include &lt;BR /&gt;#include &lt;BR /&gt;#include &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;BR /&gt;&lt;BR /&gt;Press  followed by Ctrl D to close the file.&lt;BR /&gt;&lt;BR /&gt;# cc /tmp/nkthreads.c -o /tmp/nkthreads    # Compile and name executable&lt;BR /&gt;nkthreads&lt;BR /&gt;# /tmp/nkthreads    #Execute it&lt;BR /&gt;&lt;BR /&gt;Sample output ....&lt;BR /&gt;&lt;BR /&gt;Thread usage: 302 of 6000&lt;BR /&gt;Proc   usage: 135 of 2048&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Jul 2005 06:47:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3585708#M230525</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2005-07-19T06:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: nkthread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3585709#M230526</link>
      <description># cc /tmp/nkthreads.c -o /tmp/nkthreads&lt;BR /&gt;cpp: "/tmp/nkthreads.c", line 1: error 4034: Bad syntax for #include directive.&lt;BR /&gt;cpp: "/tmp/nkthreads.c", line 2: error 4034: Bad syntax for #include directive.&lt;BR /&gt;cpp: "/tmp/nkthreads.c", line 3: error 4034: Bad syntax for #include directive.&lt;BR /&gt;cpp: "/tmp/nkthreads.c", line 4: error 4034: Bad syntax for #include directive.&lt;BR /&gt;&lt;BR /&gt;could you supplie me with the includes.</description>
      <pubDate>Wed, 20 Jul 2005 00:34:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3585709#M230526</guid>
      <dc:creator>Jannik</dc:creator>
      <dc:date>2005-07-20T00:34:30Z</dc:date>
    </item>
    <item>
      <title>Re: nkthread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3585710#M230527</link>
      <description>You didnt mention your operating system version.&lt;BR /&gt;&lt;BR /&gt;At 11.23 use kcweb and kcusage.&lt;BR /&gt;# kcusage -l nkthread&lt;BR /&gt;Parameter:      nkthread&lt;BR /&gt;Usage:          361&lt;BR /&gt;Setting:        8416&lt;BR /&gt;Percentage:     4.3</description>
      <pubDate>Wed, 20 Jul 2005 04:31:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3585710#M230527</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2005-07-20T04:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: nkthread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3585711#M230528</link>
      <description>#include &lt;SYS&gt;&lt;BR /&gt;#include &lt;SYS&gt;&lt;BR /&gt;#include &lt;SYS&gt;&lt;BR /&gt;&lt;BR /&gt;see man pstat ... that said I'm haivng problems myself getting it to work now ... &lt;BR /&gt;&lt;BR /&gt;appologies a bit busy at present.&lt;BR /&gt;&lt;/SYS&gt;&lt;/SYS&gt;&lt;/SYS&gt;</description>
      <pubDate>Wed, 20 Jul 2005 05:58:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3585711#M230528</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2005-07-20T05:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: nkthread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3585712#M230529</link>
      <description>I'm running 11.11 so the command wil not work I can't get the C script to work. I will wait a'bit with the points.</description>
      <pubDate>Wed, 20 Jul 2005 06:41:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3585712#M230529</guid>
      <dc:creator>Jannik</dc:creator>
      <dc:date>2005-07-20T06:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: nkthread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3585713#M230530</link>
      <description>Jannik,&lt;BR /&gt;&lt;BR /&gt; Drop me an email tomorrow morning ... alex_glennie@hp.com.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Jul 2005 10:33:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3585713#M230530</guid>
      <dc:creator>Alex Glennie</dc:creator>
      <dc:date>2005-07-20T10:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: nkthread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3585714#M230531</link>
      <description>I have the same problem as Jannik, since I am running on a B.11.11, &lt;BR /&gt;&lt;BR /&gt;cpp: "/tmp/nkthreads.c", line 1: error 4034: Bad syntax for #include directive.&lt;BR /&gt;cpp: "/tmp/nkthreads.c", line 2: error 4034: Bad syntax for #include directive.&lt;BR /&gt;cpp: "/tmp/nkthreads.c", line 3: error 4034: Bad syntax for #include directive.&lt;BR /&gt;cpp: "/tmp/nkthreads.c", line 4: error 4034: Bad syntax for #include directive.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Any possible help?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Wed, 14 Sep 2005 02:57:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3585714#M230531</guid>
      <dc:creator>Maria Simon</dc:creator>
      <dc:date>2005-09-14T02:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: nkthread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3585715#M230532</link>
      <description>drop alex a mail... I were able to compile it on another host. This should run for you as well.&lt;BR /&gt;Copy the file to say /tmp and do a chmod 755 /tmp/nkthreads and the run it.</description>
      <pubDate>Wed, 14 Sep 2005 03:05:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3585715#M230532</guid>
      <dc:creator>Jannik</dc:creator>
      <dc:date>2005-09-14T03:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: nkthread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3585716#M230533</link>
      <description>and the file is :-)&lt;BR /&gt;cc /tmp/nkthreads.c -o /tmp/nkthreads&lt;BR /&gt;&lt;BR /&gt;or drop me a mail and i will send the compiled file: jto@telia.dk</description>
      <pubDate>Wed, 14 Sep 2005 03:10:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3585716#M230533</guid>
      <dc:creator>Jannik</dc:creator>
      <dc:date>2005-09-14T03:10:21Z</dc:date>
    </item>
    <item>
      <title>Re: nkthread</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3585717#M230534</link>
      <description>Hi &lt;BR /&gt;When I run the program it shows&lt;BR /&gt;/nkthreads&lt;BR /&gt;Thread usage: 1128 of 4000&lt;BR /&gt;Proc usage: 638 of 4000&lt;BR /&gt;&lt;BR /&gt;When I run the kmtune to check the value&lt;BR /&gt;kmtune |grep thread&lt;BR /&gt;max_thread_proc           256  -  256&lt;BR /&gt;nkthread                 2048  -  2048&lt;BR /&gt;&lt;BR /&gt;Is it correct</description>
      <pubDate>Thu, 10 Nov 2005 23:18:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/nkthread/m-p/3585717#M230534</guid>
      <dc:creator>Manimaran Manikam_1</dc:creator>
      <dc:date>2005-11-10T23:18:56Z</dc:date>
    </item>
  </channel>
</rss>

