<?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: Process Header in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/process-header/m-p/2634858#M850280</link>
    <description>You'll have to wrap the command in a c program. Man pstat for more info, there are several freely available examples on the web.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;mark</description>
    <pubDate>Fri, 21 Dec 2001 18:43:11 GMT</pubDate>
    <dc:creator>Mark Greene_1</dc:creator>
    <dc:date>2001-12-21T18:43:11Z</dc:date>
    <item>
      <title>Process Header</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-header/m-p/2634851#M850273</link>
      <description>Anyone know how to change or control the processes header that gets display on the ps command.&lt;BR /&gt;&lt;BR /&gt;So when run /usr/local/bin/myscript&lt;BR /&gt;&lt;BR /&gt;instead of the output of ps being&lt;BR /&gt;&lt;BR /&gt;jeff 2939 9393 X X X /usr/local/bin/myscript&lt;BR /&gt;&lt;BR /&gt;I want &lt;BR /&gt;jeff 2939 9393 X X X customized_description&lt;BR /&gt;&lt;BR /&gt;Any ideas?</description>
      <pubDate>Fri, 21 Dec 2001 18:26:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-header/m-p/2634851#M850273</guid>
      <dc:creator>Jeff Machols</dc:creator>
      <dc:date>2001-12-21T18:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Process Header</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-header/m-p/2634852#M850274</link>
      <description>Hi Jeff:&lt;BR /&gt;&lt;BR /&gt;This sort of thing is usually used by those who want to hide their tracks; I think I'll keep those ideas to myself.</description>
      <pubDate>Fri, 21 Dec 2001 18:32:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-header/m-p/2634852#M850274</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-12-21T18:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Process Header</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-header/m-p/2634853#M850275</link>
      <description>You can set the process title using C.  I'm not aware of a mechanism to set the process title using shell commands.  If you're interested in the C program, let me know and I'll post an example.&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Dec 2001 18:34:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-header/m-p/2634853#M850275</guid>
      <dc:creator>Christopher Caldwell</dc:creator>
      <dc:date>2001-12-21T18:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: Process Header</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-header/m-p/2634854#M850276</link>
      <description>OOOOh, directly out of Unix Hackers 101.</description>
      <pubDate>Fri, 21 Dec 2001 18:36:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-header/m-p/2634854#M850276</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2001-12-21T18:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Process Header</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-header/m-p/2634855#M850277</link>
      <description>Thats what I thought Clay, but it's my boss that wants it.  What does that mean!?!?!  Let me rephrase, is there a straight forward, legimitiment, non-hack way to do this?</description>
      <pubDate>Fri, 21 Dec 2001 18:38:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-header/m-p/2634855#M850277</guid>
      <dc:creator>Jeff Machols</dc:creator>
      <dc:date>2001-12-21T18:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Process Header</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-header/m-p/2634856#M850278</link>
      <description>Actually what we want is a way to see whats at the end.  The beginning of the command is just the path, we want to be able to do a ps and see the end of entire command</description>
      <pubDate>Fri, 21 Dec 2001 18:39:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-header/m-p/2634856#M850278</guid>
      <dc:creator>Jeff Machols</dc:creator>
      <dc:date>2001-12-21T18:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Process Header</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-header/m-p/2634857#M850279</link>
      <description>Chris, &lt;BR /&gt;&lt;BR /&gt;I wouldn't mind looking at the C example.  Thanks&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Dec 2001 18:43:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-header/m-p/2634857#M850279</guid>
      <dc:creator>Jeff Machols</dc:creator>
      <dc:date>2001-12-21T18:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Process Header</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-header/m-p/2634858#M850280</link>
      <description>You'll have to wrap the command in a c program. Man pstat for more info, there are several freely available examples on the web.&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;mark</description>
      <pubDate>Fri, 21 Dec 2001 18:43:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-header/m-p/2634858#M850280</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2001-12-21T18:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Process Header</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-header/m-p/2634859#M850281</link>
      <description />
      <pubDate>Fri, 21 Dec 2001 18:45:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-header/m-p/2634859#M850281</guid>
      <dc:creator>Christopher Caldwell</dc:creator>
      <dc:date>2001-12-21T18:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Process Header</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-header/m-p/2634860#M850282</link>
      <description>if all you are looking for is the full command-line, try this:&lt;BR /&gt;&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;stty columms 132&lt;BR /&gt;ps -ef |fold&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;mark</description>
      <pubDate>Fri, 21 Dec 2001 18:46:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-header/m-p/2634860#M850282</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2001-12-21T18:46:03Z</dc:date>
    </item>
    <item>
      <title>Re: Process Header</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-header/m-p/2634861#M850283</link>
      <description />
      <pubDate>Fri, 21 Dec 2001 18:58:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-header/m-p/2634861#M850283</guid>
      <dc:creator>Christopher Caldwell</dc:creator>
      <dc:date>2001-12-21T18:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Process Header</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/process-header/m-p/2634862#M850284</link>
      <description>well, if we are posting code on this, try these code snippets out:&lt;BR /&gt;&lt;BR /&gt;main (int argc, char **argv)&lt;BR /&gt;{&lt;BR /&gt; int i;&lt;BR /&gt; strcpy(argv[0], "ls"); /* pretend we are 'ls' instead */&lt;BR /&gt; if (argc&amp;gt;1)&lt;BR /&gt;  for (i=1; i&lt;ARGC&gt;&lt;/ARGC&gt;   strcpy(argv[i],"");&lt;BR /&gt; dosomething();&lt;BR /&gt; exit(x);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;/* this program shows its progress, using argv[1]&lt;BR /&gt; */&lt;BR /&gt;main (int argc, char **argv)&lt;BR /&gt;{&lt;BR /&gt; while ((current_filename = getfilename()) != NULL)&lt;BR /&gt; {&lt;BR /&gt;  strcpy(argv[1], current_filename);&lt;BR /&gt;  process_file(current_filename);&lt;BR /&gt; }       exit(x);&lt;BR /&gt;} &lt;BR /&gt;</description>
      <pubDate>Fri, 21 Dec 2001 19:08:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/process-header/m-p/2634862#M850284</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2001-12-21T19:08:21Z</dc:date>
    </item>
  </channel>
</rss>

