kang9307 / jvmtop Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/jvmtop
Automatically exported from code.google.com/p/jvmtop
When I run jvmstat.sh I get following error message
JvmTop 0.4.1 alpha (expect bugs) amd64, 1 cpus, Linux 3.4.28-2.
http://code.google.com/p/jvmtop
PID MAIN-CLASS HPCUR HPMAX NHCUR NHMAX CPU GC VM USERNAME #T DL
1136 m.jvmtop.JvmTop 14m 958m 8m 130m 3.86% 0.00% 1.7.0 root 12
10449 artup.Bootstrap [ERROR: Could not attach to VM]
If I specify the pid I get following error message
Error while attaching vm 10449
com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file:
target process not responding or HotSpot VM not loaded
at sun.tools.attach.LinuxVirtualMachine.<init>(LinuxVirtualMachine.java:102)
at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(LinuxAttachProvider.java:63)
at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:213)
at com.jvmtop.VMInfo.processNewVM(VMInfo.java:138)
at com.jvmtop.VMDetailView.<init>(VMDetailView.java:24)
at com.jvmtop.JvmTop.main(JvmTop.java:35)
Exception in thread "main" java.lang.NullPointerException
at com.jvmtop.VMDetailView.printView(VMDetailView.java:32)
at com.jvmtop.JvmTop.run(JvmTop.java:70)
at com.jvmtop.JvmTop.main(JvmTop.java:35)
I'm using:
Linux 3.4.28-2.20-desktop #1 SMP PREEMPT Tue Jan 29 16:51:37 UTC 2013 (143156b)
x86_64 x86_64 x86_64 GNU/Linux
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
Original issue reported on code.google.com by [email protected]
on 29 Apr 2013 at 7:27
What steps will reproduce the problem?
1. Environment is Linux machine running IBM WebSphere8 64-bit.
2. Execute jvmtop against java pid.
What is the expected output? What do you see instead?
==> I get the following error ::
com.ibm.tools.attach.AttachNotSupportedException: target not found
at com.ibm.tools.attach.javaSE.VirtualMachineImpl.attachTarget(VirtualMachineImpl.java:81)
at com.ibm.tools.attach.javaSE.AttachProviderImpl.attachVirtualMachine(AttachProviderImpl.java:37)
at ibm.tools.attach.J9AttachProvider.attachVirtualMachine(J9AttachProvider.java:60)
at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:221)
at com.jvmtop.openjdk.tools.LocalVirtualMachine.getLocalVirtualMachine(LocalVirtualMachine.java:277)
at com.jvmtop.VMDetailView.<init>(VMDetailView.java:23)
at com.jvmtop.JvmTop.main(JvmTop.java:36)
com.ibm.tools.attach.AttachNotSupportedException: target not found
at com.ibm.tools.attach.javaSE.VirtualMachineImpl.attachTarget(VirtualMachineImpl.java:81)
at com.ibm.tools.attach.javaSE.AttachProviderImpl.attachVirtualMachine(AttachProviderImpl.java:37)
at ibm.tools.attach.J9AttachProvider.attachVirtualMachine(J9AttachProvider.java:60)
at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:221)
at com.jvmtop.VMInfo.processNewVM(VMInfo.java:134)
at com.jvmtop.VMDetailView.<init>(VMDetailView.java:24)
at com.jvmtop.JvmTop.main(JvmTop.java:36)
Error while attaching vm 13315
com.sun.tools.attach.AttachNotSupportedException: target not found
at ibm.tools.attach.J9AttachProvider.attachVirtualMachine(J9AttachProvider.java:65)
at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:221)
at com.jvmtop.VMInfo.processNewVM(VMInfo.java:134)
at com.jvmtop.VMDetailView.<init>(VMDetailView.java:24)
at com.jvmtop.JvmTop.main(JvmTop.java:36)
Exception in thread "main" java.lang.NullPointerException
at com.jvmtop.VMInfo.processNewVM(VMInfo.java:147)
at com.jvmtop.VMDetailView.<init>(VMDetailView.java:24)
at com.jvmtop.JvmTop.main(JvmTop.java:36)
What version of the product are you using? On what operating system?
==> jvmtop 0.3 on Linux / CentOS 64-bit
Please provide any additional information below.
==> IBM JDK used to run WebSphere & execute jvmtop is the same :
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxa6460_26sr1fp1-20120309_01(SR1 FP1))
IBM J9 VM (build 2.6, JRE 1.6.0 Linux amd64-64 20120308_104898 (JIT enabled,
AOT enabled)
J9VM - R26_Java626_SR1_FP1_20120308_1511_B104898
JIT - r11_20111028_21230ifx5
GC - R26_Java626_SR1_FP1_20120308_1511_B104898
J9CL - 20120308_104898)
JCL - 20120214_01
Original issue reported on code.google.com by [email protected]
on 4 Apr 2013 at 4:45
What steps will reproduce the problem?
1. run the jar file from ide
2.
3.
What is the expected output? What do you see instead?
expected output is jvm statistics. actual output is following exception
java.lang.UnsatisfiedLinkError: no attach in java.library.path
java.io.IOException: no providers installed
at com.jvmtop.openjdk.tools.LocalVirtualMachine.loadManagementAgent(LocalVirtualMachine.java:341)
at com.jvmtop.openjdk.tools.LocalVirtualMachine.startManagementAgent(LocalVirtualMachine.java:137)
at com.jvmtop.openjdk.tools.ProxyClient.tryConnect(ProxyClient.java:367)
at com.jvmtop.openjdk.tools.ProxyClient.connect(ProxyClient.java:349)
at com.jvmtop.VMInfo.attachToVM(VMInfo.java:86)
at com.jvmtop.VMInfo.processNewVM(VMInfo.java:73)
at com.jvmtop.VMOverviewView.scanForNewVMs(VMOverviewView.java:79)
at com.jvmtop.VMOverviewView.printView(VMOverviewView.java:23)
at com.jvmtop.JvmTop.run(JvmTop.java:62)
at com.jvmtop.JvmTop.main(JvmTop.java:34)
Caused by: com.sun.tools.attach.AttachNotSupportedException: no providers
installed
at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:190)
at com.jvmtop.openjdk.tools.LocalVirtualMachine.loadManagementAgent(LocalVirtualMachine.java:337)
... 9 more
What version of the product are you using? On what operating system?
Latest version jvmtop 0.5 and the OS is windows XP
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 27 May 2013 at 9:45
All the download links are failing.
Original issue reported on code.google.com by [email protected]
on 22 Apr 2013 at 2:41
What steps will reproduce the problem?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1. start a JVM with user X
2. try to run jvmtop from another user, or root, it will not attach.
3. with JConsole I can attach to all JVMs when JConsole starts as root.
What is the expected output? What do you see instead?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
More of a nice to have really. I have close to 10 JVMs running on a system,
all owned by different users, and it would be nice if I could monitor all of
them from a single instance of jvmtop.
What version of the product are you using? On what operating system?
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
jvmtop 0.4.1
Mint 14, native install and inside VirtualBox, same results.
all JVMs use:
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
Please provide any additional information below.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Keep up the great work, I love this tool.
Sample output.
^^^^^^^^^^^^^^
# NOTE: 19563, 19509 and 19624 are all owned by a different user, running
ZooKeeper.
inter01 jvmtop # id
uid=0(root) gid=0(root) groups=0(root)
inter01 jvmtop # ./jvmtop.sh
Error while attaching vm 19563
com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file:
target process not responding or HotSpot VM not loaded
at sun.tools.attach.LinuxVirtualMachine.<init>(LinuxVirtualMachine.java:106)
at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(LinuxAttachProvider.java:63)
at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:213)
at com.jvmtop.VMInfo.processNewVM(VMInfo.java:138)
at com.jvmtop.VMOverviewView.scanForNewVMs(VMOverviewView.java:132)
at com.jvmtop.VMOverviewView.printView(VMOverviewView.java:25)
at com.jvmtop.JvmTop.run(JvmTop.java:70)
at com.jvmtop.JvmTop.main(JvmTop.java:41)
Error while attaching vm 19509
com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file:
target process not responding or HotSpot VM not loaded
at sun.tools.attach.LinuxVirtualMachine.<init>(LinuxVirtualMachine.java:106)
at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(LinuxAttachProvider.java:63)
at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:213)
at com.jvmtop.VMInfo.processNewVM(VMInfo.java:138)
at com.jvmtop.VMOverviewView.scanForNewVMs(VMOverviewView.java:132)
at com.jvmtop.VMOverviewView.printView(VMOverviewView.java:25)
at com.jvmtop.JvmTop.run(JvmTop.java:70)
at com.jvmtop.JvmTop.main(JvmTop.java:41)
Error while attaching vm 19624
java.io.IOException: well-known file is not secure
at sun.tools.attach.LinuxVirtualMachine.checkPermissions(Native Method)
at sun.tools.attach.LinuxVirtualMachine.<init>(LinuxVirtualMachine.java:117)
at sun.tools.attach.LinuxAttachProvider.attachVirtualMachine(LinuxAttachProvider.java:63)
at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:213)
at com.jvmtop.VMInfo.processNewVM(VMInfo.java:138)
at com.jvmtop.VMOverviewView.scanForNewVMs(VMOverviewView.java:132)
at com.jvmtop.VMOverviewView.printView(VMOverviewView.java:25)
at com.jvmtop.JvmTop.run(JvmTop.java:70)
at com.jvmtop.JvmTop.main(JvmTop.java:41)
JvmTop 0.4.1 alpha (expect bugs) amd64, 12 cpus, Linux 3.5.0-28-
http://code.google.com/p/jvmtop
PID MAIN-CLASS HPCUR HPMAX NHCUR NHMAX CPU GC VM USERNAME #T DL
19959 onsole.JConsole 8m 7134m 25m 130m 0.66% 0.24% O7U21 root 32
20335 m.jvmtop.JvmTop 20m 7134m 8m 130m 0.41% 0.00% O7U21 root 14
19563 .QuorumPeerMain [ERROR: Could not attach to VM]
19509 .QuorumPeerMain [ERROR: Could not attach to VM]
19624 .QuorumPeerMain [ERROR: Could not attach to VM]
inter01 jvmtop # ps -ef|grep java
zkadm1 19509 1 0 10:49 pts/2 00:00:02
/inter/zkadm1/jdk1.7.0_21/bin/java [...]
zkadm2 19563 1 0 10:49 pts/2 00:00:02
/inter/zkadm2/jdk1.7.0_21/bin/java [...]
zkadm3 19624 1 0 10:49 pts/2 00:00:06
/inter/zkadm3/jdk1.7.0_21/bin/java [...]
root 20375 20288 0 11:05 pts/1 00:00:00 grep --colour=auto java
[...]: output cut, but it runs ZooKeeper instances.
Original issue reported on code.google.com by [email protected]
on 23 May 2013 at 3:11
uname -a
Linux vm11 2.6.18-194.el5xen #1 SMP Fri Apr 2 15:34:40 EDT 2010 x86_64 x86_64
x86_64 GNU/Linux
echo $JAVA_HOME
/usr/java/jdk1.6.0_37/jre
(this is the official jdk)
./jvmtop.sh
Exception in thread "main" java.lang.NoClassDefFoundError:
com/sun/tools/attach/AttachNotSupportedException
at com.jvmtop.VMOverviewView.scanForNewVMs(VMOverviewView.java:122)
at com.jvmtop.VMOverviewView.printView(VMOverviewView.java:25)
at com.jvmtop.JvmTop.run(JvmTop.java:70)
at com.jvmtop.JvmTop.main(JvmTop.java:41)
Caused by: java.lang.ClassNotFoundException:
com.sun.tools.attach.AttachNotSupportedException
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
... 4 more
sorry for my poor english.
Original issue reported on code.google.com by [email protected]
on 27 May 2013 at 3:38
while you're at it, how about including the date/time like top does. this would
be especially useful when running as a background task.
top - 21:18:58 up 24 days, 4:06, 1 user, load average: 0.90, 0.96, 1.08
Tasks: 114 total, 1 running, 112 sleeping, 0 stopped, 1 zombie
...
Original issue reported on code.google.com by [email protected]
on 24 May 2013 at 9:20
My JDK's info:/opt/IBM/WebSphere/AppServer/java
I was running the jvmtop.sh and what i got like this:
java.io.IOException: ATTACH_ERR AgentInitializationException102
at com.jvmtop.openjdk.tools.LocalVirtualMachine.loadManagementAgent(LocalVirtualMachine.java:378)
at com.jvmtop.openjdk.tools.LocalVirtualMachine.startManagementAgent(LocalVirtualMachine.java:137)
at com.jvmtop.openjdk.tools.ProxyClient.tryConnect(ProxyClient.java:367)
at com.jvmtop.openjdk.tools.ProxyClient.connect(ProxyClient.java:349)
at com.jvmtop.VMInfo.attachToVM(VMInfo.java:187)
at com.jvmtop.VMInfo.processNewVM(VMInfo.java:146)
at com.jvmtop.VMOverviewView.scanForNewVMs(VMOverviewView.java:132)
at com.jvmtop.VMOverviewView.printView(VMOverviewView.java:25)
at com.jvmtop.JvmTop.run(JvmTop.java:70)
at com.jvmtop.JvmTop.main(JvmTop.java:41)
Caused by: com.sun.tools.attach.AgentInitializationException: ATTACH_ERR
AgentInitializationException102
at ibm.tools.attach.J9VirtualMachine.loadAgent(J9VirtualMachine.java:66)
at com.jvmtop.openjdk.tools.LocalVirtualMachine.loadManagementAgent(LocalVirtualMachine.java:368)
... 9 more
What's going on,i have no idea about it.
Original issue reported on code.google.com by [email protected]
on 28 May 2013 at 6:14
What steps will reproduce the problem?
1. Copy the download to D drive
2. Extract the files to jvmtop folder. it presents jvmtop.sh and jvmtop.jar
3. Moved the folder to linux system
4. Run the shell script with ./jvmtop.sh
What is the expected output? What do you see instead?
It should show all the jvm related information
I can see "17116 weblogic.Server [ERROR: Could not attach to VM]" msg
What version of the product are you using? On what operating system?
Latest version 0.4.1 and the OS is redhat linux 6
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 23 May 2013 at 2:40
Attachments:
[deleted issue]
Is there any way to reduce the "refresh" frequency? Every second or two is a
bit much. Be nice to be able to vary it via command line.
Original issue reported on code.google.com by [email protected]
on 24 May 2013 at 7:17
What steps will reproduce the problem?
1. [[email protected] ~]$ sudo -u admin sh ./jvmtop.sh 22507
What is the expected output? What do you see instead?
I got these exceptions and the process terminated.
java.lang.RuntimeException: java.lang.ClassNotFoundException:
com.ibm.lang.management.OperatingSystemMXBean
at com.jvmtop.openjdk.tools.ProxyClient.getProcessCpuTime(ProxyClient.java:1100)
at com.jvmtop.VMInfo.updateInternal(VMInfo.java:252)
at com.jvmtop.VMInfo.update(VMInfo.java:239)
at com.jvmtop.VMInfo.<init>(VMInfo.java:126)
at com.jvmtop.VMInfo.attachToVM(VMInfo.java:188)
at com.jvmtop.VMInfo.processNewVM(VMInfo.java:146)
at com.jvmtop.VMDetailView.<init>(VMDetailView.java:26)
at com.jvmtop.JvmTop.main(JvmTop.java:35)
Caused by: java.lang.ClassNotFoundException:
com.ibm.lang.management.OperatingSystemMXBean
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at com.jvmtop.openjdk.tools.ProxyClient.getProcessCpuTime(ProxyClient.java:1089)
... 7 more
java.lang.RuntimeException: java.lang.ClassNotFoundException:
com.ibm.lang.management.OperatingSystemMXBean
at com.jvmtop.openjdk.tools.ProxyClient.getProcessCpuTime(ProxyClient.java:1100)
at com.jvmtop.VMInfo.updateInternal(VMInfo.java:252)
at com.jvmtop.VMInfo.update(VMInfo.java:239)
at com.jvmtop.VMDetailView.printView(VMDetailView.java:41)
at com.jvmtop.JvmTop.run(JvmTop.java:70)
at com.jvmtop.JvmTop.main(JvmTop.java:35)
Caused by: java.lang.ClassNotFoundException:
com.ibm.lang.management.OperatingSystemMXBean
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at com.jvmtop.openjdk.tools.ProxyClient.getProcessCpuTime(ProxyClient.java:1089)
... 5 more
JvmTop 0.5.0 alpha (expect bugs) amd64, 2 cpus, Linux 2.6.18-16
http://code.google.com/p/jvmtop
PID 22507: org.jboss.Main
ARGS: -b 0.0.0.0 -Djboss.server.home.dir=/home/admin/zeus/.default -Djbos[...]
VMARGS: -Dprogram.name=run.sh -Xms1280m -Xmx1280m -XX:NewSize=320m -XX:Ma[...]
VM: Sun Microsystems Inc. OpenJDK (Taobao) 64-Bit Server VM 1.6.0_32
UP: 23: 8m #THR: 169 #THRPEAK: 172 #THRCREATED: 153321 USER: admin
GC-Time: 0: 0m #GC-Runs: 0 #TotalLoadedClasses: 0
CPU: 0.00% GC: 0.00% HEAP: 285m /1265m NONHEAP: 98m / 304m
TID NAME STATE CPU TOTALCPU BLOCKEDBY
Note: Only top 10 threads (according cpu load) are shown!
java.lang.RuntimeException: java.lang.ClassNotFoundException:
com.ibm.lang.management.OperatingSystemMXBean
at com.jvmtop.openjdk.tools.ProxyClient.getProcessCpuTime(ProxyClient.java:1100)
at com.jvmtop.VMInfo.updateInternal(VMInfo.java:252)
at com.jvmtop.VMInfo.update(VMInfo.java:239)
at com.jvmtop.VMDetailView.printView(VMDetailView.java:41)
at com.jvmtop.JvmTop.run(JvmTop.java:70)
at com.jvmtop.JvmTop.main(JvmTop.java:35)
Caused by: java.lang.ClassNotFoundException:
com.ibm.lang.management.OperatingSystemMXBean
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at com.jvmtop.openjdk.tools.ProxyClient.getProcessCpuTime(ProxyClient.java:1089)
... 5 more
Exception in thread "main" java.lang.RuntimeException:
java.lang.ClassNotFoundException: com.ibm.lang.management.OperatingSystemMXBean
at com.jvmtop.openjdk.tools.ProxyClient.getProcessCpuTime(ProxyClient.java:1100)
at com.jvmtop.VMDetailView.printView(VMDetailView.java:145)
at com.jvmtop.JvmTop.run(JvmTop.java:70)
at com.jvmtop.JvmTop.main(JvmTop.java:35)
Caused by: java.lang.ClassNotFoundException:
com.ibm.lang.management.OperatingSystemMXBean
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at com.jvmtop.openjdk.tools.ProxyClient.getProcessCpuTime(ProxyClient.java:1089)
... 3 more
What version of the product are you using? On what operating system?
[[email protected] ~]$ java -version
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.4) (rhel-1.24.1.10.4.el5-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)
Please provide any additional information below.
the jvm process with pid 22507 was running by user admin
[[email protected] ~]$ ps aux|grep 22507
admin 22507 0.1 21.6 2418528 853228 ? Sl May27 2:07
/opt/taobao/java/bin/java -Dprogram.name=run.sh -server -Xms1280m -Xmx1280m
-XX:NewSize=320m -XX:MaxNewSize=320m -XX:PermSize=96m -XX:MaxPermSize=256m -cp
/home/admin/hadoop/hadoop-0.19.1/conf -Djava.awt.headless=true -Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8787
-Djava.awt.headless=true -Dsun.net.client.defaultConnectTimeout=10000
-Dsun.net.client.defaultReadTimeout=30000 -Djava.awt.headless=true
-Dcom.sun.management.jmxremote.port=1090
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=true
-Dcom.sun.management.jmxremote.password.file=/home/admin/zeus/conf/jmxremote.pas
sword -Djava.rmi.server.hostname=v101170.sqa.cm4
-javaagent:/home/admin/depend/classAgent.jar
-javaagent:/home/admin/zeus/dtd/btrace/build/btrace-agent.jar=script=/home/admin
/zeus/dtd/btrace/build/TrackDTDXSDLoad.class,scriptOutputFile=/home/admin/zeus/l
ogs/dtdxsdloadstatus.log -Djava.net.preferIPv4Stack=true
-Djava.endorsed.dirs=/opt/taobao/jboss/lib/endorsed -classpath
/home/minyi/tcc/lib/tcc-emma-1.0-SNAPSHOT.jar:/opt/taobao/jboss/bin/run.jar:/opt
/taobao/java/lib/tools.jar org.jboss.Main -b 0.0.0.0
-Djboss.server.home.dir=/home/admin/zeus/.default
-Djboss.server.home.url=file:/home/admin/zeus/.default
Original issue reported on code.google.com by [email protected]
on 28 May 2013 at 7:16
What steps will reproduce the problem?
1. Start jvmtop
2. Start Glassfish
What is the expected output? What do you see instead?
PID MAIN-CLASS HPCUR HPMAX NHCUR NHMAX CPU GC VM USERNAME #T DL
17169 m.jvmtop.JvmTop 26m 1715m 9m 130m 0.21% 0.00% O7U21 phill 12
java.io.IOException: Unable to open socket file: target process not responding
or HotSpot VM not loaded
at com.jvmtop.openjdk.tools.LocalVirtualMachine.loadManagementAgent(LocalVirtualMachine.java:341)
at com.jvmtop.openjdk.tools.LocalVirtualMachine.startManagementAgent(LocalVirtualMachine.java:137)
at com.jvmtop.openjdk.tools.ProxyClient.tryConnect(ProxyClient.java:367)
at com.jvmtop.openjdk.tools.ProxyClient.connect(ProxyClient.java:349)
at com.jvmtop.VMInfo.attachToVM(VMInfo.java:187)
at com.jvmtop.VMInfo.processNewVM(VMInfo.java:146)
at com.jvmtop.VMOverviewView.scanForNewVMs(VMOverviewView.java:132)
at com.jvmtop.VMOverviewView.printView(VMOverviewView.java:25)
at com.jvmtop.JvmTop.run(JvmTop.java:70)
at com.jvmtop.JvmTop.main(JvmTop.java:41)
Caused by: com.sun.tools.attach.AttachNotSupportedException: Unable to open
socket file: target process not responding or HotSpot VM not loaded
at sun.tools.attach.BsdVirtualMachine.<init>(BsdVirtualMachine.java:90)
at sun.tools.attach.BsdAttachProvider.attachVirtualMachine(BsdAttachProvider.java:63)
at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:213)
at com.jvmtop.openjdk.tools.LocalVirtualMachine.loadManagementAgent(LocalVirtualMachine.java:337)
... 9 more
java.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy5.getHeapMemoryUsage(Unknown Source)
at com.jvmtop.VMInfo.update(VMInfo.java:235)
at com.jvmtop.VMOverviewView.updateVMs(VMOverviewView.java:110)
at com.jvmtop.VMOverviewView.printView(VMOverviewView.java:27)
at com.jvmtop.JvmTop.run(JvmTop.java:70)
at com.jvmtop.JvmTop.main(JvmTop.java:41)
Caused by: java.rmi.ConnectException: Connection refused to host:
192.168.200.97; nested exception is:
java.net.ConnectException: Connection refused
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:128)
at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
at javax.management.remote.rmi.RMIConnectionImpl_Stub.getAttributes(Unknown Source)
at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.getAttributes(RMIConnector.java:926)
at com.jvmtop.openjdk.tools.ProxyClient$SnapshotInvocationHandler.getCachedAttributes(ProxyClient.java:1053)
at com.jvmtop.openjdk.tools.ProxyClient$SnapshotInvocationHandler.getAttribute(ProxyClient.java:1012)
at com.jvmtop.openjdk.tools.ProxyClient$SnapshotInvocationHandler.invoke(ProxyClient.java:994)
at com.sun.proxy.$Proxy0.getAttribute(Unknown Source)
at com.sun.jmx.mbeanserver.MXBeanProxy$GetHandler.invoke(MXBeanProxy.java:122)
at com.sun.jmx.mbeanserver.MXBeanProxy.invoke(MXBeanProxy.java:167)
at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:265)
... 6 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at java.net.Socket.<init>(Socket.java:425)
at java.net.Socket.<init>(Socket.java:208)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:146)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
... 19 more
Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
at com.sun.proxy.$Proxy6.findDeadlockedThreads(Unknown Source)
at com.jvmtop.VMInfo.hasDeadlockThreads(VMInfo.java:330)
at com.jvmtop.VMOverviewView.printVM(VMOverviewView.java:85)
at com.jvmtop.VMOverviewView.printView(VMOverviewView.java:37)
at com.jvmtop.JvmTop.run(JvmTop.java:70)
at com.jvmtop.JvmTop.main(JvmTop.java:41)
Caused by: java.rmi.ConnectException: Connection refused to host:
192.168.200.97; nested exception is:
java.net.ConnectException: Connection refused
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619)
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216)
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:128)
at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
at javax.management.remote.rmi.RMIConnectionImpl_Stub.invoke(Unknown Source)
at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:1017)
at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.jvmtop.openjdk.tools.ProxyClient$SnapshotInvocationHandler.invoke(ProxyClient.java:1002)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at com.sun.jmx.mbeanserver.MXBeanProxy$InvokeHandler.invoke(MXBeanProxy.java:150)
at com.sun.jmx.mbeanserver.MXBeanProxy.invoke(MXBeanProxy.java:167)
at javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:265)
... 6 more
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
at java.net.Socket.connect(Socket.java:579)
at java.net.Socket.connect(Socket.java:528)
at java.net.Socket.<init>(Socket.java:425)
at java.net.Socket.<init>(Socket.java:208)
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40)
at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:146)
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:613)
... 20 more
What version of the product are you using? On what operating system?
0.5.0 Mac OS X
Original issue reported on code.google.com by [email protected]
on 26 May 2013 at 3:45
What steps will reproduce the problem?
1. Environment is Windows machine running IBM WebSphere8 64-bit.
2. Execute jvmtop against java pid.
What is the expected output? What do you see instead?
==> I get the following error ::
Exception in thread "main" java.lang.UnsatisfiedLinkError:
sun/misc/Perf.registerNatives()V
at sun.misc.Perf.<clinit>(Perf.java:531)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:205)
at sun.misc.Perf$GetPerfAction.run(Perf.java:92)
at java.security.AccessController.doPrivileged(AccessController.java:203)
at sun.jvmstat.perfdata.monitor.protocol.local.PerfDataBuffer.<clinit>(PerfDataBuffer.java:44)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:205)
at sun.jvmstat.perfdata.monitor.protocol.local.LocalMonitoredVm.<init>(LocalMonitoredVm.java:63)
at sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.getMonitoredVm(MonitoredHostProvider.java:72)
at sun.jvmstat.perfdata.monitor.protocol.local.MonitoredHostProvider.getMonitoredVm(MonitoredHostProvider.java:62)
at com.jvmtop.openjdk.tools.LocalVirtualMachine.getMonitoredVMs(LocalVirtualMachine.java:201)
at com.jvmtop.openjdk.tools.LocalVirtualMachine.getAllVirtualMachines(LocalVirtualMachine.java:152)
at com.jvmtop.openjdk.tools.LocalVirtualMachine.getLocalVirtualMachine(LocalVirtualMachine.java:263)
at com.jvmtop.VMDetailView.<init>(VMDetailView.java:23)
at com.jvmtop.JvmTop.main(JvmTop.java:36)
What version of the product are you using? On what operating system?
==> jvmtop 0.3 on Windows 7 64-bit
Please provide any additional information below.
==> IBM JDK used to run WebSphere & execute jvmtop is the same :
java version "1.6.0"
Java(TM) SE Runtime Environment (build pwa6460_26fp1-20110419_01)
IBM J9 VM (build 2.6, JRE 1.6.0 Windows 7 amd64-64 20110418_80450 (JIT enabled,
AOT enabled)
J9VM - R26_Java626_GA_FP1_20110418_1915_B80450
JIT - r11_20110215_18645ifx8
GC - R26_Java626_GA_FP1_20110418_1915_B80450
J9CL - 20110418_80450)
JCL - 20110401_01
Original issue reported on code.google.com by [email protected]
on 4 Apr 2013 at 4:41
What steps will reproduce the problem?
1. run ./jvmtop.sh
What version of the product are you using? On what operating system?
0.5.0 alpha
Please provide any additional information below.
on summary-mode, the output does not display at fixed location at console, but
scrolls up every 1s.
it works well at details-mode.
Original issue reported on code.google.com by [email protected]
on 27 May 2013 at 1:34
Attachments:
What steps will reproduce the problem?
1. Run the jvmtop.sh file
2.
3.
What is the expected output? What do you see instead?
PID MAIN-CLASS HPCUR HPMAX NHCUR NHMAX CPU GC VM USERNAME #T DL
4916 m.jvmtop.JvmTop 3m 63m 15m 116m 33.54% 25.81% S6U11 194964 20
3984 179m 494m 119m 310m 22.36% 0.00% S6U25 194964 44
2700 5m 30m 16m 118m 0.00% 9900.00% S6U25 194964 17
5112 ient.PluginMain 7m 247m 20m 118m 0.00% 0.00% S6U25 194964 27
2260 Deadlock1 1m 63m 15m 116m 0.00% 0.00% S6U11 194964 12
**The PID's 3984 and 2700 not seen in windows task manager process. Where are
they come from and also the GC percentage shows 9900%. Is it really that much.
What version of the product are you using? On what operating system?
Windows Vista
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 28 May 2013 at 10:34
Hey,
just wanted to say thank you. This looks like a really awesome project. I tried
looking around for source code, but couldn't find anything.
Is this something I can get access to?
Thanks,
Nik
Original issue reported on code.google.com by [email protected]
on 23 May 2013 at 4:41
[deleted issue]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.