testing - Monitor Java application with VisualVM -


i have few java programs running on ec2 instance. want profile them using visualvm. not web applications run on jetty or tomcat. did go through stuff mentioned here, dont know how set visualvm after generate jar files commands. can me out?

thanks

you attach visualvm pid of process want profile. if that's jetty or tomcat or other java ee app server, means pid of app server. if not, it's pid of jvm that's running app.

if you've got jvm installed on ec2 instance, i'd recommend looking in jvm /bin folder see if jvisualvm.exe there. if is, fire in separate command shell , attach pid of application.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

php - joomla get content in onBeforeCompileHead function -