Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I monitor how many threads and memory usage in my JVM or Eclipse?

I want to monitor the memory usage and threading, how can I do on the Eclipse or JVM? Thanks.

like image 222
DNB5brims Avatar asked Mar 16 '12 04:03

DNB5brims


1 Answers

You can try jvisualvm.exe You can find it in jdk/bin directory. It's great tool. Read here on the usage of it.

If you want to get the status in your java code, you can try JMX. Google the keywords "JMX Monitoring and Management".

like image 196
Mavlarn Avatar answered Sep 28 '22 15:09

Mavlarn