title: Find the commands that jvm was started with during run time (1.6.0_12)
body: <p>Full story:
  I am trying to start up an instance of hudson with a larger memory allocation and I'm currently using scripts owned by root that I can't modify directly to pass arguments. However the script currently passes the $JAVA_ARGS variable when starting up the service. I have exported the required parameters to JAVA_ARGS but the application still appears to be bound by the old memory restrictions.</p>
  
  <p>Question:
  Is there a way to find out which command line parameters were used to start up the instance. More specifically I'm looking to find the values that were passed (if any) to Xmx and Xms.</p>
  
  <pre><code>java version "1.6.0_12"
  Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
  Java HotSpot(TM) 64-Bit Server VM (build 11.2-b01, mixed mode)
  </code></pre>