<?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 Defunct Process in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927315#M409331</link>
    <description>Hi Unix Gurus,&lt;BR /&gt;&lt;BR /&gt;Can ordinary users produce defunct process?&lt;BR /&gt;Thanks in advance.....</description>
    <pubDate>Tue, 20 Sep 2005 04:14:29 GMT</pubDate>
    <dc:creator>zap_2</dc:creator>
    <dc:date>2005-09-20T04:14:29Z</dc:date>
    <item>
      <title>Defunct Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927315#M409331</link>
      <description>Hi Unix Gurus,&lt;BR /&gt;&lt;BR /&gt;Can ordinary users produce defunct process?&lt;BR /&gt;Thanks in advance.....</description>
      <pubDate>Tue, 20 Sep 2005 04:14:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927315#M409331</guid>
      <dc:creator>zap_2</dc:creator>
      <dc:date>2005-09-20T04:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: Defunct Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927316#M409332</link>
      <description>Yes.&lt;BR /&gt;&lt;BR /&gt;They merely need to have minimal programming skills and be not careful. Usually however, root can kill these processes.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 20 Sep 2005 04:15:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927316#M409332</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-09-20T04:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Defunct Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927317#M409333</link>
      <description>Yes, Anyone can create defunct process. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Tue, 20 Sep 2005 04:18:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927317#M409333</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-09-20T04:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: Defunct Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927318#M409334</link>
      <description>Can any one show me how to create defunct process?Thanks in advance ...</description>
      <pubDate>Tue, 20 Sep 2005 04:20:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927318#M409334</guid>
      <dc:creator>zap_2</dc:creator>
      <dc:date>2005-09-20T04:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Defunct Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927319#M409335</link>
      <description>Yes. Simple coding will make process like that. Applications which is running in normal user will create defunct process also.&lt;BR /&gt;&lt;BR /&gt;hth.&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Sep 2005 04:22:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927319#M409335</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-09-20T04:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Defunct Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927320#M409336</link>
      <description>Here is a small C code to create defunct, &lt;BR /&gt;&lt;BR /&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;main()&lt;BR /&gt;{&lt;BR /&gt;    int pid;&lt;BR /&gt;    pid=fork();  /* Duplicate  */&lt;BR /&gt;    if (pid!=0) /* Branch based on return value from fork() */&lt;BR /&gt;       {&lt;BR /&gt;          while (1) &lt;BR /&gt;          sleep(1000);&lt;BR /&gt;       }&lt;BR /&gt;    else&lt;BR /&gt;       {&lt;BR /&gt;          exit(42);&lt;BR /&gt;       }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;[root@mysystem tmp]# gcc -o fork fork.c&lt;BR /&gt;[root@mysystem tmp]# ./fork &amp;amp;&lt;BR /&gt;[1] 6823&lt;BR /&gt;&lt;BR /&gt;[root@mysystem tmp]# ps&lt;BR /&gt;  PID TTY          TIME CMD&lt;BR /&gt; 6764 pts/0    00:00:00 bash&lt;BR /&gt; 6823 pts/0    00:00:00 fork&lt;BR /&gt; 6824 pts/0    00:00:00 fork &lt;DEFUNCT&gt;&lt;BR /&gt; 6825 pts/0    00:00:00 ps&lt;BR /&gt;&lt;/DEFUNCT&gt;&lt;/STDIO.H&gt;</description>
      <pubDate>Tue, 20 Sep 2005 04:43:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927320#M409336</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-09-20T04:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Defunct Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927321#M409337</link>
      <description>I tried in Linux, not on HP-UX since i dont have a compiler installed in my HP-UX. Anyways, it should work. &lt;BR /&gt;&lt;BR /&gt;-Arun &lt;BR /&gt;</description>
      <pubDate>Tue, 20 Sep 2005 04:46:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927321#M409337</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-09-20T04:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: Defunct Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927322#M409338</link>
      <description>Hi Arun,&lt;BR /&gt;How to compile your script in hpux?</description>
      <pubDate>Tue, 20 Sep 2005 04:56:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927322#M409338</guid>
      <dc:creator>zap_2</dc:creator>
      <dc:date>2005-09-20T04:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: Defunct Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927323#M409339</link>
      <description># cc -o fork fork.c &lt;BR /&gt;# fork &amp;amp; &lt;BR /&gt;# ps &lt;BR /&gt;&lt;BR /&gt;-Arun &lt;BR /&gt;</description>
      <pubDate>Tue, 20 Sep 2005 05:00:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927323#M409339</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-09-20T05:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Defunct Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927324#M409340</link>
      <description># cc fork fork.c&lt;BR /&gt;cc: warning 485: Can't open "fork.c".</description>
      <pubDate>Tue, 20 Sep 2005 05:06:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927324#M409340</guid>
      <dc:creator>zap_2</dc:creator>
      <dc:date>2005-09-20T05:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Defunct Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927325#M409341</link>
      <description>It should be # cc -o fork fork.c, assuming that you have fork.c in your current directory. Otherwise, you need to give full path to fork.c &lt;BR /&gt;&lt;BR /&gt;-Arun &lt;BR /&gt;</description>
      <pubDate>Tue, 20 Sep 2005 05:10:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927325#M409341</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-09-20T05:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Defunct Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927326#M409342</link>
      <description>Hi Zap , &lt;BR /&gt;&lt;BR /&gt;Try ,&lt;BR /&gt;&lt;BR /&gt;# cc fork.c -o fork&lt;BR /&gt;&lt;BR /&gt;-o defines the output compiled file.&lt;BR /&gt;For details check # man cc&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.</description>
      <pubDate>Tue, 20 Sep 2005 05:13:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927326#M409342</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-09-20T05:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: Defunct Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927327#M409343</link>
      <description>many thanks unix gurus .........</description>
      <pubDate>Tue, 20 Sep 2005 05:21:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927327#M409343</guid>
      <dc:creator>zap_2</dc:creator>
      <dc:date>2005-09-20T05:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Defunct Process</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927328#M409344</link>
      <description>Defunct process is a process which has terminated but the signal hasn't been send to the parent.&lt;BR /&gt;&lt;BR /&gt;So it has nothing to do with a user.&lt;BR /&gt;Either you can create it or you run an application which is not programmed correctly.</description>
      <pubDate>Tue, 20 Sep 2005 05:35:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/defunct-process/m-p/4927328#M409344</guid>
      <dc:creator>Vibhor Kumar Agarwal</dc:creator>
      <dc:date>2005-09-20T05:35:53Z</dc:date>
    </item>
  </channel>
</rss>

