Using the following command, I am able to connect HealthCenter client with HealthCenter agent.
java -Xhealthcenter TestJava
After connecting, HealthCenter Client showing me weird information like
Classes- Your application has loaded 396 classes. Make sure you have class sharing enabled with the -Xshareclasses option to save memory and reduce JVM startup time.
Garbage Collection - The garbage collection is performing system (forced) GCs. 14% of the GCs were system GCs. The use of system GCs is generally not recommended since they can cause long pauses and do not allow the garbage collection algorithms to optimise themselves. Consider inspecting your code for occurrences of System.gc().
While I have run just 1 class with the name TestJava and this class has just one method. How its fetching alot of information that is not required.
Can anybody explain whats happening here.
Pinned topic HealthCenter Client showing weird information
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-10-15T10:41:21Z at 2012-10-15T10:41:21Z by WiseMind
SystemAdmin 110000D4XK188 Posts
Re: HealthCenter Client showing weird information2012-10-12T11:58:25ZThis is the accepted answer. This is the accepted answer.Hi,
Health Center monitors the vm being used to run your application, not the actual application. So what you see is everything the vm is required to do to run your application. That is why you see lots of other classes being loaded. They are needed to get your application to run etc.
Re: HealthCenter Client showing weird information2012-10-12T12:08:28ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK
GC Mode Default (optthruput)
Mean garbage collection pause 4.58 ms
Mean interval between collections 11413 ms
Number of collections 7
Proportion of time spent in Garbage Collection pauses 0.04%
Proportion of time spent unpaused 100.0%
System (forced) garbage collection count 1
Which point is important to see JVM is working fine or not? These questions may be weird but I need to understand how its working.. Any tutorial or blog which explains the steps which key items or points we need to focus after making connection with JVM.
Thank you very much for your help.
peacocb 120000ERX222 Posts
Re: HealthCenter Client showing weird information2012-10-12T12:22:55ZThis is the accepted answer. This is the accepted answer.
- WiseMind 2700033EPD
Thus, you need to read what is in the box in the bottom left of the screen. The box is entitled "Analysis and Recommendations".
I sense from your questions that you are new to Java and thus a starting point would be a web search on the fundamentals of Java.
Re: HealthCenter Client showing weird information2012-10-15T10:41:21ZThis is the accepted answer. This is the accepted answer.
- peacocb 120000ERX2
Well actually I have worked on these tools first time.
So I am interested to find out which information is more important like heap size, GC pauses resume information.. That we are able to tell here is the problem.