<?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 process name in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/process-name/m-p/2855465#M826459</link>
    <description>Is there a C-level call to change the process name of a running process? I mean the name shown in ps(1) *after* the fork/exec.&lt;BR /&gt;&lt;BR /&gt;Someone suggested 'setproctitle', but I don't have a manpage from that, nor do I have that function in a lib.</description>
    <pubDate>Mon, 02 Dec 2002 16:11:48 GMT</pubDate>
    <dc:creator>H.Merijn Brand (procura</dc:creator>
    <dc:date>2002-12-02T16:11:48Z</dc:date>
    <item>
      <title>process name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-name/m-p/2855465#M826459</link>
      <description>Is there a C-level call to change the process name of a running process? I mean the name shown in ps(1) *after* the fork/exec.&lt;BR /&gt;&lt;BR /&gt;Someone suggested 'setproctitle', but I don't have a manpage from that, nor do I have that function in a lib.</description>
      <pubDate>Mon, 02 Dec 2002 16:11:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-name/m-p/2855465#M826459</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-12-02T16:11:48Z</dc:date>
    </item>
    <item>
      <title>Re: process name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-name/m-p/2855466#M826460</link>
      <description>Found:&lt;BR /&gt;&lt;BR /&gt;#ifdef __hpux&lt;BR /&gt;#include &lt;SYS&gt;&lt;BR /&gt;#endif&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#if defined(__hpux) &amp;amp;&amp;amp; defined(PSTAT_SETCMD)&lt;BR /&gt; {&lt;BR /&gt;      union pstun un;&lt;BR /&gt;      s = SvPV(sv, len);&lt;BR /&gt;      un.pst_command = s;&lt;BR /&gt;      pstat(PSTAT_SETCMD, un, len, 0, 0);&lt;BR /&gt; }&lt;BR /&gt;#endif&lt;BR /&gt;&lt;/SYS&gt;</description>
      <pubDate>Mon, 02 Dec 2002 16:33:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-name/m-p/2855466#M826460</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-12-02T16:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: process name</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-name/m-p/2855467#M826461</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;That is pretty slick, but I can see where that could be really dangerous in the wrong hands.  &lt;BR /&gt;&lt;BR /&gt;On the other hand, it could make for some interesting labs in the HP-UX Troubleshooting class!  :)&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Mon, 02 Dec 2002 16:43:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-name/m-p/2855467#M826461</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2002-12-02T16:43:19Z</dc:date>
    </item>
  </channel>
</rss>

