<?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: What's the difference between binaries &amp;quot;java&amp;quot; and &amp;quot;java_q3p&amp;quot;? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/what-s-the-difference-between-binaries-quot-java-quot-and-quot/m-p/4526421#M367671</link>
    <description>Thank you for the explanation Dennis.&lt;BR /&gt;&lt;BR /&gt;Since we asked for a heap size between 512-2048 MB (i.e. args -Xms512m -Xmx2048m to JVM) it has started the java_q3p binary.&lt;BR /&gt;&lt;BR /&gt;Now I know how and when to distinguish.&lt;BR /&gt;&lt;BR /&gt;Btw, just for me as a memory hook, does q3 refer to "quadrant 3" in terms of imaginative memory mapping?</description>
    <pubDate>Tue, 03 Nov 2009 11:42:26 GMT</pubDate>
    <dc:creator>Ralph Grothe</dc:creator>
    <dc:date>2009-11-03T11:42:26Z</dc:date>
    <item>
      <title>What's the difference between binaries "java" and "java_q3p"?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-s-the-difference-between-binaries-quot-java-quot-and-quot/m-p/4526419#M367669</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;again I had a script failing because of seemingly wrong assumptions about a program's appearance in the process table.&lt;BR /&gt;&lt;BR /&gt;Though this should have been a known issue to me,&lt;BR /&gt;since I already had posted this thread&lt;BR /&gt;( &lt;A href="http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1201739" target="_blank"&gt;http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1201739&lt;/A&gt; )&lt;BR /&gt;almost two years ago (unfortunately without the hoped for solution then),&lt;BR /&gt;it just has haunted me back.&lt;BR /&gt;&lt;BR /&gt;The silly and bewildering mystery to me is its   two guises it shows up as.&lt;BR /&gt;&lt;BR /&gt;See what I mean?&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -C java -o pid,ppid,comm,args    &lt;BR /&gt;  PID  PPID COMMAND         COMMAND&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -C java_q3p -o pid,ppid,comm,args&lt;BR /&gt;  PID  PPID COMMAND         COMMAND&lt;BR /&gt;12952 12951 java            /opt/java1.5/bin/PA_RISC2.0/java -Xms512m -Xmx2048m -XX:NewSize&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -p 12952 -o comm,args&lt;BR /&gt;COMMAND         COMMAND&lt;BR /&gt;java            /opt/java1.5/bin/PA_RISC2.0/java -Xms512m -Xmx2048m -XX:NewSize&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -p 12952 -o comm     &lt;BR /&gt;COMMAND&lt;BR /&gt;java&lt;BR /&gt;&lt;BR /&gt;# UNIX95= ps -p 12952        &lt;BR /&gt;  PID TTY          TIME CMD&lt;BR /&gt;12952 ?        03:05:15 java&lt;BR /&gt;&lt;BR /&gt;# ps -p 12952        &lt;BR /&gt;   PID TTY       TIME COMMAND&lt;BR /&gt; 12952 ?        185:16 java_q3p&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In the Java15JDK package where this belongs to&lt;BR /&gt;there are two differently named (and obviously different) binaries of same size.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# swlist -l file Java15JDK|grep java_q3p&lt;BR /&gt;  Java15JDK.Jdk15.JDK15-PA20: /opt/java1.5/bin/PA_RISC2.0/java_q3p                     &lt;BR /&gt;  Java15JDK.Jre15.JRE15-PA20: /opt/java1.5/jre/bin/PA_RISC2.0/java_q3p                 &lt;BR /&gt;&lt;BR /&gt;# ll -i /opt/java1.5/bin/PA_RISC2.0/java{,_q3p}&lt;BR /&gt;  8546 -r-xr-xr-x   1 bin        bin         126648 Oct 17  2006 /opt/java1.5/bin/PA_RISC2.0/java&lt;BR /&gt;  8547 -r-xr-xr-x   1 bin        bin         126648 Oct 17  2006 /opt/java1.5/bin/PA_RISC2.0/java_q3p&lt;BR /&gt;&lt;BR /&gt;# diff /opt/java1.5/bin/PA_RISC2.0/java{,_q3p} &lt;BR /&gt;Binary files /opt/java1.5/bin/PA_RISC2.0/java and /opt/java1.5/bin/PA_RISC2.0/java_q3p differ&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I am really curious what the meaning is of this duplicity?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Ralph</description>
      <pubDate>Tue, 03 Nov 2009 09:49:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-s-the-difference-between-binaries-quot-java-quot-and-quot/m-p/4526419#M367669</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2009-11-03T09:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: What's the difference between binaries "java" and "java_q3p"?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-s-the-difference-between-binaries-quot-java-quot-and-quot/m-p/4526420#M367670</link>
      <description>&amp;gt;I am really curious what the meaning is of this duplicity?&lt;BR /&gt;&lt;BR /&gt;If you tell java you need a larger heap, it invokes the chatr +q3p version of java, for 1 Gb more.</description>
      <pubDate>Tue, 03 Nov 2009 10:21:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-s-the-difference-between-binaries-quot-java-quot-and-quot/m-p/4526420#M367670</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-11-03T10:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: What's the difference between binaries "java" and "java_q3p"?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-s-the-difference-between-binaries-quot-java-quot-and-quot/m-p/4526421#M367671</link>
      <description>Thank you for the explanation Dennis.&lt;BR /&gt;&lt;BR /&gt;Since we asked for a heap size between 512-2048 MB (i.e. args -Xms512m -Xmx2048m to JVM) it has started the java_q3p binary.&lt;BR /&gt;&lt;BR /&gt;Now I know how and when to distinguish.&lt;BR /&gt;&lt;BR /&gt;Btw, just for me as a memory hook, does q3 refer to "quadrant 3" in terms of imaginative memory mapping?</description>
      <pubDate>Tue, 03 Nov 2009 11:42:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-s-the-difference-between-binaries-quot-java-quot-and-quot/m-p/4526421#M367671</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2009-11-03T11:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: What's the difference between binaries "java" and "java_q3p"?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-s-the-difference-between-binaries-quot-java-quot-and-quot/m-p/4526422#M367672</link>
      <description>Yes, this has a direct analogy to the char_pa(1) q3p / q4p sections and signifies Java running with the 3rd Quadrant private.</description>
      <pubDate>Tue, 03 Nov 2009 11:52:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-s-the-difference-between-binaries-quot-java-quot-and-quot/m-p/4526422#M367672</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2009-11-03T11:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: What's the difference between binaries "java" and "java_q3p"?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-s-the-difference-between-binaries-quot-java-quot-and-quot/m-p/4526423#M367673</link>
      <description>Argh... typo -- that should have been "chatr_pa(1)", of course. Sorry.</description>
      <pubDate>Tue, 03 Nov 2009 11:53:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-s-the-difference-between-binaries-quot-java-quot-and-quot/m-p/4526423#M367673</guid>
      <dc:creator>Don Morris_1</dc:creator>
      <dc:date>2009-11-03T11:53:22Z</dc:date>
    </item>
    <item>
      <title>Re: What's the difference between binaries "java" and "java_q3p"?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-s-the-difference-between-binaries-quot-java-quot-and-quot/m-p/4526424#M367674</link>
      <description>So guys, I now changed my script so that it would hopefully catch the JVM's PID, no matter in what memory quadrant it has been placed,&lt;BR /&gt;by using&lt;BR /&gt;&lt;BR /&gt;e.g.&lt;BR /&gt;&lt;BR /&gt;jvm_pid=$(NIX95= ps -C java,java_q3p,java_q4p -o pid=)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;So while this would fail&lt;BR /&gt;&lt;BR /&gt;$ UNIX95= ps -C java                          &lt;BR /&gt;  PID TTY          TIME CMD&lt;BR /&gt;&lt;BR /&gt;this seems to work&lt;BR /&gt;&lt;BR /&gt;$ UNIX95= ps -C java,java_q3p,java_q4p -o pid=&lt;BR /&gt; 3527&lt;BR /&gt;&lt;BR /&gt;$ ps -fp 3527                                 &lt;BR /&gt;     UID   PID  PPID  C    STIME TTY       TIME COMMAND&lt;BR /&gt;     www  3527     1  0  Oct 26  ?         8:58 /opt/java1.5/bin/PA_RISC2.0/java -Xms512m -Xmx2048m -XX:NewSize&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Of course, you now may now argue that if I had several JVMs in possibly several quadrants running, it would still break.&lt;BR /&gt;&lt;BR /&gt;But that's ok since there ought to be running only one JVM per node.&lt;BR /&gt;</description>
      <pubDate>Tue, 03 Nov 2009 12:05:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-s-the-difference-between-binaries-quot-java-quot-and-quot/m-p/4526424#M367674</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2009-11-03T12:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: What's the difference between binaries "java" and "java_q3p"?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-s-the-difference-between-binaries-quot-java-quot-and-quot/m-p/4526425#M367675</link>
      <description>&amp;gt;that's ok since there ought to be running only one JVM per node.&lt;BR /&gt;&lt;BR /&gt;You can have one JVM for each java application.</description>
      <pubDate>Tue, 03 Nov 2009 23:30:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-s-the-difference-between-binaries-quot-java-quot-and-quot/m-p/4526425#M367675</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-11-03T23:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: What's the difference between binaries "java" and "java_q3p"?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/what-s-the-difference-between-binaries-quot-java-quot-and-quot/m-p/4526426#M367676</link>
      <description>&amp;gt; You can have one JVM for each java application.&lt;BR /&gt;&lt;BR /&gt;I know, but these are dedicated cluster nodes with each of them running exactly one Tomcat instance (which itself isn't a cluster shared resource as part of an MC/SG package).</description>
      <pubDate>Wed, 04 Nov 2009 09:12:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/what-s-the-difference-between-binaries-quot-java-quot-and-quot/m-p/4526426#M367676</guid>
      <dc:creator>Ralph Grothe</dc:creator>
      <dc:date>2009-11-04T09:12:01Z</dc:date>
    </item>
  </channel>
</rss>

