java - jvisualvm 1.3.2 refuses to show CPU for some local apps and not others -
osx lion, java 1.6.0_33
one program running @ moment, shows cpu in jvisualvm
overview: host: localhost main class: org.jetbrains.idea.maven.server.remotemavenserver arguments: <none> jvm: java hotspot(tm) 64-bit server vm (20.8-b03-424, mixed mode) java: version 1.6.0_33, vendor apple inc. java home: /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home jvm flags: <none> another not:
host: localhost main class: com.basistech.ntt.socialsecuritydeathmastertodistribution arguments: /data/ssdm/ssdm.txt target/ssdm.dist.txt jvm: java hotspot(tm) 64-bit server vm (20.8-b03-424, mixed mode) java: version 1.6.0_33, vendor apple inc. java home: /system/library/java/javavirtualmachines/1.6.0.jdk/contents/home jvm flags: <none> heap dump on oome: disabled why?
i'm not sure still have issue, answer might others
i'm on linux , had same behaviour yours :
- local jvm cpu sampling disabled on vm working on others (jvisualvm example)
- when cpu sampling not working, jvisualvm take 5-6 min attach vm
in /etc/hosts file, 127.0.0.1 entry did not contain hostname changed :
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
to
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 my_host_name
(my_host_name : when run cmd : hostname).
(i tried after reading point 5 of : http://docs.oracle.com/javase/1.5.0/docs/guide/management/faq.html not issue facing, out of things try... )
before changing /etc/hosts command : hostname -i returned eth0 ip address. after returned 127.0.0.1
i don't understand why, fixed issue.
Comments
Post a Comment