<?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: 'ps' bug? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ps-bug/m-p/3670570#M243676</link>
    <description>Hi James:&lt;BR /&gt;&lt;BR /&gt;You might try 'ps' patch PHCO_31978 if you don't already have it on your server.  This patch, in predecessor forms, fixed a coupld of bugs associated with the '-x' option.&lt;BR /&gt;&lt;BR /&gt;No reboot is required to install it.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
    <pubDate>Sun, 13 Nov 2005 18:28:49 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2005-11-13T18:28:49Z</dc:date>
    <item>
      <title>'ps' bug?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ps-bug/m-p/3670569#M243675</link>
      <description>'ps -efx | grep argument_to_JVM'&lt;BR /&gt;works most of the time, but every couple days &lt;BR /&gt;fails to return what is expected.&lt;BR /&gt;We do this from cron (every five minutes?)&lt;BR /&gt;as well as OpenView with an edited template,&lt;BR /&gt;on 11.11, and have encountered problems both ways.&lt;BR /&gt;Anyone ever seen this before?&lt;BR /&gt;Here is a sample of the grep when it works.&lt;BR /&gt;We use the 'x' because args to the java runtime are too far out for 'ps -ef'.&lt;BR /&gt;&lt;BR /&gt;Ex.:&lt;BR /&gt;&lt;BR /&gt;ps -efx | grep MultiSendFunnel&lt;BR /&gt;&lt;BR /&gt;Returns mostly:&lt;BR /&gt;&lt;BR /&gt;user 27215     1  0  Sep 24  ?        67:06 /opt/java1.4/jre/bin/PA_RISC2.0/java -classpath /home/jburn/src/java/starter MultiSendFunnel&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 13 Nov 2005 17:30:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ps-bug/m-p/3670569#M243675</guid>
      <dc:creator>James Burn</dc:creator>
      <dc:date>2005-11-13T17:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: 'ps' bug?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ps-bug/m-p/3670570#M243676</link>
      <description>Hi James:&lt;BR /&gt;&lt;BR /&gt;You might try 'ps' patch PHCO_31978 if you don't already have it on your server.  This patch, in predecessor forms, fixed a coupld of bugs associated with the '-x' option.&lt;BR /&gt;&lt;BR /&gt;No reboot is required to install it.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Sun, 13 Nov 2005 18:28:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ps-bug/m-p/3670570#M243676</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-11-13T18:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: 'ps' bug?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ps-bug/m-p/3670571#M243677</link>
      <description>While a suggested, you need to check ps patches and see if you get it resolved.&lt;BR /&gt;Other thing is not to rely on grep statements.&lt;BR /&gt;&lt;BR /&gt;What you can do is enable XPG4 ps behaviour.&lt;BR /&gt;&lt;BR /&gt;UNIX95= ps -CMultiSendFunnel -o "pid,ppid,ruser,args"&lt;BR /&gt;&lt;BR /&gt;man ps for details.</description>
      <pubDate>Sun, 13 Nov 2005 22:38:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ps-bug/m-p/3670571#M243677</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-11-13T22:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: 'ps' bug?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ps-bug/m-p/3670572#M243678</link>
      <description>Java is particularly annoying because of the massively long pathnames. Using the UNIX95 feature in addition to -x may help. The -x option is relatively new but is only good to 1024 characters while a command line might be megs in size. There is also a new feature in the latest ps that uses a special config file: /etc/default/ps that can set the maximum command line width shown by ps.</description>
      <pubDate>Sun, 13 Nov 2005 22:56:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ps-bug/m-p/3670572#M243678</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-11-13T22:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: 'ps' bug?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ps-bug/m-p/3670573#M243679</link>
      <description>Thank You to James, RAC and Bill for the helpfull suggestions. Will try all of the above.&lt;BR /&gt;Awesome!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Nov 2005 09:46:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ps-bug/m-p/3670573#M243679</guid>
      <dc:creator>James Burn</dc:creator>
      <dc:date>2005-11-14T09:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: 'ps' bug?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ps-bug/m-p/3670574#M243680</link>
      <description>Just a clarification for the -C option. It refers to the actual command or process name, not arguments. So to isolate just the java-classpath process, yhou would use:&lt;BR /&gt; &lt;BR /&gt;UNIX95= ps -xC java-classpath -o pid,ruser,args&lt;BR /&gt; &lt;BR /&gt;The -C does not use grep, it looks in the process table and performs an exact match on the process name.</description>
      <pubDate>Mon, 14 Nov 2005 10:50:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ps-bug/m-p/3670574#M243680</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-11-14T10:50:15Z</dc:date>
    </item>
  </channel>
</rss>

