<?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: Retrieving the full command name with &amp;quot;ps&amp;quot; command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163412#M896853</link>
    <description>PHCO_26274 will add the -x option to ps (for 11.0) and PHCO_29042 adds the feature for 11.11.</description>
    <pubDate>Sat, 17 Jan 2004 21:47:48 GMT</pubDate>
    <dc:creator>Bill Hassell</dc:creator>
    <dc:date>2004-01-17T21:47:48Z</dc:date>
    <item>
      <title>Retrieving the full command name with "ps" command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163403#M896842</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I want to know whether particular perl script is running or not on HP-UX10.20 system. If use &lt;BR /&gt;ps -ef | grep -v "grep" | &amp;lt;script name&amp;gt; it is displaying nothing eventhough the script is running. If use wild character "*" in the script name it is displaying the output but I found that the script name is getting truncated at the end. I think there would be limitation in displaying the command name.If the command name is too big then it will truncate the command name. &lt;BR /&gt;&lt;BR /&gt;In HP-UX11.11 I found the "-x" option in ps command which displays the full command name.&lt;BR /&gt;&lt;BR /&gt;Can any body help me out the for the similar option in HPUX10.20 like "-x". &lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Sekhar.</description>
      <pubDate>Tue, 13 Jan 2004 14:42:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163403#M896842</guid>
      <dc:creator>Sekhar_3</dc:creator>
      <dc:date>2004-01-13T14:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving the full command name with "ps" command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163404#M896844</link>
      <description>As far as I know the '-x' option does not exist in HP-UX 10.20, not even with a patch.&lt;BR /&gt;&lt;BR /&gt;There may be a gnu version of ps you could try, but I am not certain and I don't know if that would even help you.</description>
      <pubDate>Tue, 13 Jan 2004 14:45:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163404#M896844</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2004-01-13T14:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving the full command name with "ps" command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163405#M896845</link>
      <description>As far as I know, HP-UX has no facility for an extended "ps" output.&lt;BR /&gt;&lt;BR /&gt;Could be very useful. &lt;BR /&gt;&lt;BR /&gt;Maybe somebody at Tech Development Labs is reading this thread?  ;-&amp;gt;</description>
      <pubDate>Wed, 14 Jan 2004 02:20:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163405#M896845</guid>
      <dc:creator>Jakes Louw</dc:creator>
      <dc:date>2004-01-14T02:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving the full command name with "ps" command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163406#M896847</link>
      <description>Hi Sekhar&lt;BR /&gt;&lt;BR /&gt;In 10.20 you can use ps -f to display full command</description>
      <pubDate>Wed, 14 Jan 2004 02:43:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163406#M896847</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2004-01-14T02:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving the full command name with "ps" command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163407#M896848</link>
      <description>As far as I know, "ps -f" will only give a different column view, but it still chops the display.</description>
      <pubDate>Wed, 14 Jan 2004 02:48:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163407#M896848</guid>
      <dc:creator>Jakes Louw</dc:creator>
      <dc:date>2004-01-14T02:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving the full command name with "ps" command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163408#M896849</link>
      <description>If you take a look at the manual of the ps command, you'll see why the line will be truncated:&lt;BR /&gt;'Only a subset of the command line is saved by the kernel'&lt;BR /&gt;Since ps takes its data from the kernel, you'll only see a subset.&lt;BR /&gt;&lt;BR /&gt;Thus, if you want the complete command line, it won't work. But if you're only interested in the command name, try using the -l option instead of the -f option. Or use the XPG4 version (set the UNIX95 environment variable before running ps) and use the '-o comm' option. &lt;BR /&gt;&lt;BR /&gt;Perhaps there is someone out there who knows a kernel parameter to extent the kernel command buffer?</description>
      <pubDate>Wed, 14 Jan 2004 03:04:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163408#M896849</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2004-01-14T03:04:33Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving the full command name with "ps" command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163409#M896850</link>
      <description>The syntax you have show should not work. &lt;BR /&gt;on less you are sending output to a script.&lt;BR /&gt;&lt;BR /&gt;ps -ef | grep -v "grep" | &amp;lt;script name&amp;gt; &lt;BR /&gt;&lt;BR /&gt;should be&lt;BR /&gt;ps -ef |grep -v "grep" |grep &amp;lt;script name&amp;gt;&lt;BR /&gt;&lt;BR /&gt;Unfortunatly I don't know of 10.2 or 11.0 way&lt;BR /&gt;to get extended command line.&lt;BR /&gt;if you are executing the script via full path name. you might cd to the directory and then&lt;BR /&gt;execute your script&lt;BR /&gt;&lt;BR /&gt;Rory&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 14 Jan 2004 20:19:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163409#M896850</guid>
      <dc:creator>Rory R Hammond</dc:creator>
      <dc:date>2004-01-14T20:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving the full command name with "ps" command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163410#M896851</link>
      <description>ps -x is a feature added via a patch for 11.x systems only. It was never a part of 10.20 which has been obsolete since 2001 and unsupported since last summer. There is no way to get the entire command line in ps for 10.20 systems. You'll have to start processes that have long pathnames in a script that uses $PWD to shorten the command line.</description>
      <pubDate>Wed, 14 Jan 2004 23:54:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163410#M896851</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-01-14T23:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving the full command name with "ps" command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163411#M896852</link>
      <description>Thanks, Bill.&lt;BR /&gt;&lt;BR /&gt;Do u have that patch ID on the tip of your tongue, perhaps?</description>
      <pubDate>Thu, 15 Jan 2004 00:40:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163411#M896852</guid>
      <dc:creator>Jakes Louw</dc:creator>
      <dc:date>2004-01-15T00:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving the full command name with "ps" command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163412#M896853</link>
      <description>PHCO_26274 will add the -x option to ps (for 11.0) and PHCO_29042 adds the feature for 11.11.</description>
      <pubDate>Sat, 17 Jan 2004 21:47:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163412#M896853</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-01-17T21:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving the full command name with "ps" command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163413#M896854</link>
      <description>Sekhar,&lt;BR /&gt;&lt;BR /&gt;have a look at the ps man page for UNIX95 options. For example: export UNIX95=1;ps -A -o comm= &lt;BR /&gt;It will show the command in a different way. Maybe this may help.&lt;BR /&gt;&lt;BR /&gt;JP</description>
      <pubDate>Sun, 18 Jan 2004 08:15:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163413#M896854</guid>
      <dc:creator>Jeroen Peereboom</dc:creator>
      <dc:date>2004-01-18T08:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving the full command name with "ps" command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163414#M896855</link>
      <description>try these &lt;BR /&gt;# UNIX95=1 ps -eo vsz,ruser,pid,args |sort -rn |more&lt;BR /&gt;# UNIX95=1 ps -eo vsz,ruser,pid,comm |sort -rn |more&lt;BR /&gt;-- or &lt;BR /&gt;# UNIX95=1 ps -eo vsz,ruser,pid,ppid,args |sort -rn |more&lt;BR /&gt;&lt;BR /&gt;cheers</description>
      <pubDate>Sun, 18 Jan 2004 19:09:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163414#M896855</guid>
      <dc:creator>T. M. Louah</dc:creator>
      <dc:date>2004-01-18T19:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving the full command name with "ps" command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163415#M896856</link>
      <description>Note that invoking ps with UNIX95 allows you to specify the fields you'd like to see (ie, -o comm and -o args) but the kernel's internal field for the command line is still limited. Without patches to change the maximum size of this field, ps cannot see the entire command line. Therefore, for 10.20 there is no way to access more than about 60 characters of the comand line.</description>
      <pubDate>Sun, 18 Jan 2004 21:03:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163415#M896856</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-01-18T21:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving the full command name with "ps" command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163416#M896858</link>
      <description>Thanks to one and all.</description>
      <pubDate>Mon, 19 Jan 2004 20:20:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163416#M896858</guid>
      <dc:creator>Sekhar_3</dc:creator>
      <dc:date>2004-01-19T20:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieving the full command name with "ps" command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163417#M896860</link>
      <description>Assign points!</description>
      <pubDate>Tue, 20 Jan 2004 01:00:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/retrieving-the-full-command-name-with-quot-ps-quot-command/m-p/3163417#M896860</guid>
      <dc:creator>Jakes Louw</dc:creator>
      <dc:date>2004-01-20T01:00:30Z</dc:date>
    </item>
  </channel>
</rss>

