2013年10月10日星期四

How to view the current linux system allocated to the JVM how much memory

Help using the linux command
------ Solution ---------------------------------- ----------

  
to WAS an example:   
  
[tmp] $ ps-ef | grep java   
root 9787 1 0 Sep17? ; 00:02:48 / opt / IBM / WebSphere / AppServer / java / bin / java   -Xms50m-Xmx256m   
  
-Xms and-Xmx JVM represent the minimum memory allocation and maximum memory .   
  
stack information you can use kill -3 followed by the java process pid, so that we can generate a thread dump .   What if the system simultaneously tomcat, jobss, weblogic java these similar containers, calculate the memory allocated to java also need a one summed it ? This and the configuration file directly into memory allocation did not see much difference , I wonder if there is no better method, or the landlord 's teacher wants answers.
------ Solution ---------------------------------------- ----


/ / So, if the system simultaneously tomcat, jobss, weblogic java these similar containers, calculate the memory allocated to java also need a one summed it ?
Yes

/ / this and the configuration file directly into memory allocation did not see much difference, I wonder if there is no better way
no
------ For reference only --------------------------------- ------
help themselves top
------ For reference only ------------------------- --------------
Bangding weblogic or jboss only know how to look at this type of container JVM memory allocation size . Landlord can describe specific problems.
------ For reference only -------------------------------------- -
this you should go ask java plate oh
------ For reference only -------------------------- -------------

this is our first asked me to write a script that real-time monitoring of the JVM stack information that is just the most basic question : linux system virtual machine is allocated for the JVM how much memory
------ For reference only ---------------------------- -----------

use scripting ah ? We first asked me to write a script to monitor the JVM memory stack internships and other information
------ For reference only --------------------- ------------------

this is our first asked me to write a script that real-time monitoring of the JVM stack that is just the most basic information question : linux system virtual machine is allocated for the JVM how much memory   can not help you understand this a
------ For reference only ---------------------------------------


to WAS an example:

[tmp] $ ps-ef | grep java
root 9787 1 0 Sep17? ; 00:02:48 / opt / IBM / WebSphere / AppServer / java / bin / java -Xms50m-Xmx256m

-Xms and-Xmx JVM represent the minimum memory allocation and maximum memory .

stack information you can use kill -3 followed by the java process pid, so that we can generate a thread dump .
------ For reference only -------------------------------------- -
landlord finally how to solve this problem it seek share answers

没有评论:

发表评论