ddusnoki / 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
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. ./jvmtop.sh --once.
2.
3.
What is the expected output? What do you see instead?
Attached is the video screen record link.
What version of jvmtop are you using? On what operating system?
jvmtop 1.7.1
Please post the output of the following commands:
java -version
echo $JAVA_HOME (for unix/linux systems)
echo %JAVA_HOME% (for windows)
Please provide any additional information below.
hi,
Like i had discussed about my intention to develop a nagios plugin by using
jvmtop.sh, i completed the script. On testing. I get to see a shocking result
about the thread creations in my linux centos box. I set nagios to check and
run script every 2 min. but when i looked at the performance in HTOP. i see the
thread is continuously growing by .jvmtop.sh. I started on Friday. and today on
monday it almost created a min 2000 thread!!. consuming 300MB resident memory,
and all having priority 15.
With this much thread creation by jvmtop, i dont think nagios plugin will work
on top of it. below is the line which executes the jvmtop.sh and grep the jvm
process. eg: script.sh -j org.jboss.Main
tmp_output=$(/usr/local/nagios/libexec/jvmtop.sh --once | grep $PROCESS)
Let me know whats your openion on this.
http://www29.zippyshare.com/v/5648707/file.html
Original issue reported on code.google.com by [email protected]
on 12 Aug 2013 at 6:19
What steps will reproduce the problem?
1. Running jvmtop on AIX with WebSphere JVMs
2.
3.
What is the expected output? What do you see instead?
Seeing all running JVMs
What version of jvmtop are you using? On what operating system?
The latest (just downloaded)
Please post the output of the following commands:
java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX build ca142-20090307 (SR13) (JIT
enabled: jitc))
echo $JAVA_HOME (for unix/linux systems)
twausxwasapp57:/home/i262666 >echo $JAVA_HOME
/usr/java6
echo %JAVA_HOME% (for windows)
Please provide any additional information below.
When running jvmtop it sees only itself running. Most likely because the the
security because the JVMs are run under the "wasadmin" account by the WAS
administration.
However, when I run the following command
ps -elf | grep java
all JVMs are displayed.
Appreciated your help
Original issue reported on code.google.com by [email protected]
on 4 Sep 2013 at 3:23
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:
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
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. ./jvmtop.sh
2.
3.
What is the expected output? What do you see instead?
attached jvmtopout.jpg
What version of jvmtop are you using? On what operating system?
jvmtop-0.7.0
Please post the output of the following commands:
java -version
java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)
echo $JAVA_HOME (for unix/linux systems)
echo %JAVA_HOME% (for windows)
Please provide any additional information below.
Kindly fix the scrolling mode. it would be nice to have it like linux TOP does.
and is it possible to display the output only once ? by which i am planning to
develop a nagios script plugin which will get output from this and generate
graphs.
Awaiting your reply.
Great work. thanks.
Original issue reported on code.google.com by [email protected]
on 30 Jul 2013 at 5:38
Attachments:
Hello,
i get same problem as some guys before me, but in our case it is not solved
with 0.8 version. We run several websphere V7 servers with latest fp.
Error:
java.io.IOException: ATTACH_ERR AgentInitializationException102
at com.jvmtop.openjdk.tools.LocalVirtualMachine.loadManagementAgent(Unknown Source)
at com.jvmtop.openjdk.tools.LocalVirtualMachine.startManagementAgent(Unknown Source)
at com.jvmtop.openjdk.tools.ProxyClient.tryConnect(Unknown Source)
at com.jvmtop.openjdk.tools.ProxyClient.connect(Unknown Source)
at com.jvmtop.monitor.VMInfo.attachToVM(Unknown Source)
at com.jvmtop.monitor.VMInfo.processNewVM(Unknown Source)
at com.jvmtop.view.VMOverviewView.scanForNewVMs(Unknown Source)
at com.jvmtop.view.VMOverviewView.printView(Unknown Source)
at com.jvmtop.JvmTop.run(Unknown Source)
at com.jvmtop.JvmTop.main(Unknown Source)
Caused by: com.sun.tools.attach.AgentInitializationException: ATTACH_ERR
AgentInitializationException102
at ibm.tools.attach.J9VirtualMachine.loadAgent(J9VirtualMachine.java:66)
... 10 more
java version:
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxz6460sr10fp1-20120321_01(SR10 FP1))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux s390x-64
jvmxz6460sr10fp1-20120202_101568 (JIT enabled, AOT enabled)
J9VM - 20120202_101568
JIT - r9_20111107_21307ifx1
GC - 20120202_AA)
JCL - 20120320_01
Thank You for help.
Valentin
Original issue reported on code.google.com by [email protected]
on 17 Feb 2014 at 10:21
Hi team,
We encountered error msg as could not attach to process while trying to invoke
jvmtop with pid.
What steps will reproduce the problem?
1.Execute the command ./jvmtop.sh <pid>
2.we ensured whether the process is running.
What is the expected output? What do you see instead?
Expected output list of top java threads but what we got is listed below
JvmTop 0.8.0 alpha - 10:53:13, amd64, 24 cpus, Linux 2.6.18-23, load avg 4.26
http://code.google.com/p/jvmtop
ERROR: Could not attach to process.
Linux version : RHEL 2.6.18-238.9.1.el5 #1 SMP Fri Mar 18 12:42:39 EDT 2011
x86_64 x86_64 x86_64 GNU/Linux
While we tried with jvmtop without pid we got the below error
JvmTop 0.8.0 alpha - 11:12:28, amd64, 24 cpus, Linux 2.6.18-23, load avg 4.87
http://code.google.com/p/jvmtop
PID MAIN-CLASS HPCUR HPMAX NHCUR NHMAX CPU GC VM USERNAME #T DL
10428 m.jvmtop.JvmTop 139m 10732m 10m 132m 0.38% 0.00% S6U20 root 12
20670 rapperSimpleApp [ERROR: Connection refused/access denied]
18605 rapperSimpleApp [ERROR: Connection refused/access denied]
19878 rapperSimpleApp [ERROR: Connection refused/access denied]
9212 rapperSimpleApp [ERROR: Connection refused/access denied]
21223 rapperSimpleApp [ERROR: Connection refused/access denied]
29345 rapperSimpleApp [ERROR: Connection refused/access denied]
26537 rapperSimpleApp [ERROR: Connection refused/access denied]
7799 rapperSimpleApp [ERROR: Connection refused/access denied]
19139 rapperSimpleApp [ERROR: Connection refused/access denied]
4754 rapperSimpleApp [ERROR: Connection refused/access denied]
What version of jvmtop are you using? On what operating system?
jvmtop 0.8.0 OS =
Please post the output of the following commands:
java -version
echo $JAVA_HOME = /x/opt/sun/java-x86_64-1_6_0_20
Thanks
Sattish
Original issue reported on code.google.com by [email protected]
on 30 Oct 2013 at 6:14
What steps will reproduce the problem?
1. install jvmtop on FreeBSD
2. run jvmtop
What is the expected output? What do you see instead?
top-like updates are expected based on examples on this site
sar-like streaming output is shown
What version of jvmtop are you using? On what operating system?
0.6.0
FreeBSD 9.1
Please post the output of the following commands:
java -version
[jgh@hatter ~]$ java -version
openjdk version "1.6.0_32"
OpenJDK Runtime Environment (build 1.6.0_32-b25)
OpenJDK Client VM (build 20.0-b12, mixed mode)
echo $JAVA_HOME (for unix/linux systems)
/usr/local/openjdk6
Please provide any additional information below.
A screen recording is attached.
Original issue reported on code.google.com by [email protected]
on 19 Jun 2013 at 9:35
Attachments:
jvmtop does not work for me (ERROR: Could not attach to process). Running
64-bit ubuntu 13.04.
I also noticed that jstack does not work but running jstack like this works:
jstack -J-d64 -m <pid>
Maybe this can be used in jvmtop to fix the issue?
Original issue reported on code.google.com by [email protected]
on 26 Aug 2013 at 8:57
What version of the product are you using? On what operating system?
Please post the output of the following commands:
java -version
echo $JAVA_HOME (for unix/linux systems)
echo %JAVA_HOME% (for windows)
[henry@wsa061 tools]$ uname -a
Linux wsa061 2.6.32-279.19.1.el6.ppc64 #1 SMP Sat Nov 24 14:36:02 EST 2012
ppc64 ppc64 ppc64 GNU/Linux
[henry@wsa061 tools]$ /usr/lib/jvm/java-1.6.0-ibm-1.6.0.11.0.ppc64/bin/java
-version
java version "1.6.0"
Java(TM) SE Runtime Environment (build pxp6460sr11-20120806_01(SR11))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 Linux ppc64-64
jvmxp6460sr11-20120801_118201 (JIT enabled, AOT enabled)
J9VM - 20120801_118201
JIT - r9_20120608_24176ifx1
GC - 20120516_AA)
JCL - 20120713_01
Error message :
[henry@wsa061 tools]$ ./jvmtop.sh 116096
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:303)
at com.jvmtop.VMDetailView.<init>(VMDetailView.java:25)
at com.jvmtop.JvmTop.main(JvmTop.java:35)
Exception in thread "main" 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.openjdk.tools.LocalVirtualMachine.getLocalVirtualMachine(LocalVirtualMachine.java:303)
at com.jvmtop.VMDetailView.<init>(VMDetailView.java:25)
at com.jvmtop.JvmTop.main(JvmTop.java:35)
Original issue reported on code.google.com by newitfarmer
on 31 May 2013 at 9:38
Enhancement.
For example:
- GC info is split on 2 lines
- uptime and %CPU are on different lines
- pid & user are far apart
- system time & JVM up time are displayed differently
- a mix of formats in the header makes parsing with awk or perl harder than needed
Probably first on my list would be to reorganize the output to make it more
top-like and to ensure that things that are related to each other are near each
other.
One possible suggestion for a reorg:
Instead of:
JvmTop 0.7.1 alpha - 04:04:18, amd64, 1 cpus, Linux 2.6.32-35, load avg 0.00
http://code.google.com/p/jvmtop
PID 3944: /home/jboss/jboss-as-7.1.1.Final/jboss-modules.jar
ARGS: -mp /home/jboss/jboss-as-7.1.1.Final/modules -jaxpmodule javax.xml.[...]
VMARGS: -D[Standalone] -XX:+UseCompressedOops -XX:+TieredCompilation -Xms[...]
VM: Oracle Corporation OpenJDK 64-Bit Server VM 1.7.0_25
UP: 13:14m #THR: 34 #THRPEAK: 76 #THRCREATED: 192 USER: jboss
GC-Time: 0: 0m #GC-Runs: 505 #TotalLoadedClasses: 7179
CPU: 0.40% GC: 0.00% HEAP: 46m / 494m NONHEAP: 50m / 352m
How about:
JvmTop 0.7.1 alpha - 04:04:18, load average: 0.00, 0.00, 0.00
Process: jboss, 3944, /home/jboss/jboss-as-7.1.1.Final/jboss-modules.jar
Args: -mp /home/jboss/jboss-as-7.1.1.Final/modules -jaxpmodule javax.xml.[...]
VMArgs: -D[Standalone] -XX:+UseCompressedOops -XX:+TieredCompilation -Xms[...]
VM: Oracle Corporation OpenJDK 64-Bit Server VM 1.7.0_25
Cpu: 13:14, 0.40%
Threads: 34 active, 76 peak, 192 created
GC: 00:00 time, 0.00%, 505 runs, 7179 classes
Heap: 494m total, 44m used, 450m free
Non-heap: 352m total, 50m used, 302m free
Original issue reported on code.google.com by DaveParillo
on 9 Aug 2013 at 11:29
Hello,
This is not a bug report, I just want to ask a question.
I am using jvmtop in my app and I would like to know which APIs could be used
together with it.
Thank you very much in advance!
Regards,
MG
Original issue reported on code.google.com by [email protected]
on 5 Feb 2014 at 11:37
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
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
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
Enhancement.
What steps will reproduce?
1. jvmtop.sh --once <pid>
What is the expected output? What do you see instead?
When running a monitoring program like top once, the screen doesn't clear
before displaying output, the results simply appends to existing location in
the window. This allows me to see, for example, the results of --once twice in
the same window.
What version of jvmtop are you using? On what operating system?
v0.7.1 on RHEL 6.4
Please post the output of the following commands:
java -version:
java version "1.7.0_25"
OpenJDK Runtime Environment (rhel-2.3.10.4.el6_4-x86_64)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
[jboss@testbox ~]$ echo $JAVA_HOME
/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.25.x86_64
Please provide any additional information below.
Original issue reported on code.google.com by DaveParillo
on 8 Aug 2013 at 11:20
What steps will reproduce the problem?
1. We are invoking 1.5 jvm using our own wrapper application and invoking our
compiled class in it.
What is the expected output? What do you see instead?
jvmtop is not able to attache to the jvm and it displays Could not attach to VM
What version of jvmtop are you using? On what operating system?
latest jvmtop on centos 5.2
Please post the output of the following commands:
java -version 1.6 for running jvmtop and java 1.5 for our application jvm
echo $JAVA_HOME (for unix/linux systems)
echo %JAVA_HOME% (for windows)
Please provide any additional information below.
Using multiple java versions
Original issue reported on code.google.com by [email protected]
on 28 Aug 2013 at 10:55
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
It would be nice to have a possibility to sort the thread list in the detail
mode by name or other things.
Original issue reported on code.google.com by [email protected]
on 16 May 2014 at 9:19
Using JvmTop 0.8.0 alpha.
According to the help -p or --pid must be used to connect to a PID, but instead
-p or --pid must not be specified to connect to a PID.
When connecting to a PID, do not specify -p or --pid:
./jvmtop.sh 2384
instead of:
./jvmtop.sh -p 2384
or
./jvmtop.sh --pid 2384
Cheers, Ian.
Original issue reported on code.google.com by [email protected]
on 4 Apr 2014 at 8:36
The first line of code in the shell wrapper should read:
DIR="$(cd "$(dirname "$(readlink -f "$0")")" && pwd)"
to support symlinking to that script. Else jvmtop won't find its JAR.
Original issue reported on code.google.com by [email protected]
on 4 Nov 2013 at 2:53
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
Can you provide the break-up details on NHCUR (non-heap current metric)? Like
Code Cache Memory & etc. It will be really helpful.
Thanks,
Mani
Original issue reported on code.google.com by [email protected]
on 7 Mar 2014 at 4:54
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. Try and run with OS X
2. Does not work. Says requires real JDK.
tools.jar is not packaged up as a separate jar in the OS X JDK. You don't need
to add it to the classpath like on Windows/Unix. I wrote and tested the
following fix:
if [ `uname` != 'Darwin' ] ; then
if [ ! -f "$TOOLSJAR" ] ; then
echo "$JAVA_HOME seems to be no JDK!" >&2
exit 1
fi
fi
Original issue reported on code.google.com by [email protected]
on 10 Sep 2013 at 11:51
What steps will reproduce the problem?
Run jvmtop.
What is the expected output? What do you see instead?
Not able to launch jvmtop. The following error message:
/System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/java seems to
be no JDK!
But "/System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/java
-version" did give a correct version number.
What version of jvmtop are you using? On what operating system?
0.8.0 on OS X Mavericks.
Please post the output of the following commands:
/System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/java -version
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
echo $JAVA_HOME (for unix/linux systems)
(Empty)
Please provide any additional information below.
Original issue reported on code.google.com by xuhdev
on 16 Nov 2013 at 3:57
The output is getting truncated. How to increase the width of the name column.
Original issue reported on code.google.com by [email protected]
on 7 Aug 2013 at 9:34
Enhancement.
It would be awesome to be able to organize the details view in a hierarchy /
tree which would group threads under their parents. htop is an example of do
this for processes. Personally, I have never found that of much use, but I see
a lot of application for this type of output for JVM threads.
Pitfalls I see are that searching the thread group tree repetitively might be
too cpu / time consuming and there is no guarantee that thread groups all have
unique names, so things might get a bit tricky.
An interim step might be to simply display all threads rather than the top 10.
Original issue reported on code.google.com by DaveParillo
on 10 Aug 2013 at 8:22
[deleted issue]
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. [[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. run jvmtop
2. run jvmtop against pid
3.
What is the expected output? What do you see instead?
information on the pid is expected
java error is found
What version of jvmtop are you using? On what operating system?
0.6.0
FreeBSD 9.1
Please post the output of the following commands:
java -version
[jgh@pepper ~]$ java -version
openjdk version "1.6.0_32"
OpenJDK Runtime Environment (build 1.6.0_32-b27)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
echo $JAVA_HOME (for unix/linux systems)
/usr/local/openjdk6
Please provide any additional information below.
[jgh@pepper ~]$ ps -wwwwaux |grep java
jgh 54408 4.0 2.0 1285004 80952 2 S+ 10:06PM 0:06.34
/usr/local/openjdk6/bin/java -cp
/usr/local/share/java/classes/jvmtop.jar:/usr/local/openjdk6/lib/tools.jar
com.jvmtop.JvmTop
jgh 55258 0.0 0.1 16280 2112 3 S+ 10:07PM 0:00.00 grep java
[jgh@pepper ~]$ jvmtop 54408
Exception in thread "main" java.lang.UnsupportedOperationException: Thread CPU
Time Measurement is not supported.
at sun.management.ThreadImpl.getThreadCpuTime(ThreadImpl.java:214)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:180)
at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:114)
at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:51)
at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:226)
at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:251)
at javax.management.StandardMBean.invoke(StandardMBean.java:405)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:857)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:795)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1475)
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:97)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1316)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1408)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:838)
at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
at sun.rmi.transport.Transport$1.run(Transport.java:177)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
I don't know if this is relevant to this source code, but here is a patch that
worked for another piece of software that fixed an issue with a similar
exception.
http://weka.8497.n7.nabble.com/Patch-fix-quot-UnsupportedOperationException-Thre
ad-CPU-time-measurement-is-not-supported-quot-on-FrD-td11308.html
Original issue reported on code.google.com by [email protected]
on 20 Jun 2013 at 5:12
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:
Would it be possible to add an option to suppress the cut of the thread list
("Note: Only top 10 threads (according cpu load) are shown!") in the detail
mode?
Original issue reported on code.google.com by [email protected]
on 16 May 2014 at 9:17
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
A new option to show all threads will be useful just in case the database
server is too slow to respond resulting in a pile-up of threads in the Java
server.
Original issue reported on code.google.com by [email protected]
on 4 Nov 2013 at 7:30
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
All the download links are failing.
Original issue reported on code.google.com by [email protected]
on 22 Apr 2013 at 2:41
I just cloned the git repo and executed ant dist, which fails with the message:
/home/foo/tmp/jvmtop-git/jvmtop/jvmtop/build.xml:42: Problem creating jar:
/home/foo/tmp/jvmtop-git/jvmtop/jvmtop/dist/jvmtop.jar (No such file or
directory) (and the archive is probably corrupt but I could not delete it)
The problem is that the jvmtop/dist directory doesn't exist. The bit about the
corrupt archive is spurious.
Here's a patch to create the directory. After this change, I find that ant dist
runs to completion successfully.
$ git diff
diff --git a/jvmtop/build.xml b/jvmtop/build.xml
index 18dc6e4..6417c8e 100644
--- a/jvmtop/build.xml
+++ b/jvmtop/build.xml
@@ -36,6 +36,7 @@
<target name="dist" depends="compile"
description="generate the distribution" >
<!-- Create the distribution directory -->
+ <mkdir dir="${dist}"/>
<delete file="${dist}/jvmtop.jar" />
$ echo $JAVA_HOME
/usr/lib/jvm/java-1.6.0-openjdk.x86_64
$ java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.3) (rhel-1.48.1.11.3.el6_2-x86_64)
OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
Original issue reported on code.google.com by [email protected]
on 13 Sep 2013 at 1:56
hi,
In order to Minimize CPU time and CPU % taken by jvmtop.sh to find and display
all the JVM found, can we have an argument like
./jvmtop.sh --once <jvm name>
eg:
./jvmtop.sh --once org.jboss.Main
OUTPUT:-
JvmTop 0.7.1 alpha - 06:13:38, amd64, 4 cpus, Linux 2.6.18-19, load avg 0.00
http://code.google.com/p/jvmtop
PID MAIN-CLASS HPCUR HPMAX NHCUR NHMAX CPU GC VM USERNAME #T DL
11228 org.jboss.Main 549m 3993m 70m 304m 0.00% 0.00% S6U25 compiere 74
This would limit what jvmtop search and query for. making less CPU usage and
intensive.
Original issue reported on code.google.com by [email protected]
on 13 Aug 2013 at 11:18
What steps will reproduce the problem?
1. ./jvmtop.sh --help
jvmtop has several arguments that can only be learned through looking at a few
different pages in the wiki - since there is no source code, hard to know if
they are all documented anywhere.
What is the expected output? What do you see instead?
[me@localhost~]$ jvmtop --help
JvmTop 0.7.1 alpha, http://code.google.com/p/jvmtop
Usage: info [OPTIONS]... [PID]
Monitor JVM metrics on the command line
Options (only one can be specified):
--help this text
--once [PID] Run jvmtop one time, then exit
--delay N Delay N seconds between updates
--profile PID Profile a specifc JVM instance
Examples:
jvmtop Summarize all currently running JVM's
jvmtop 3944 Display detailed information for a single JVM (pid #3944)
jvmtop --delay 3 --profile 3944
Profile process #3944, updating the display every 3 seconds
Plus appending what you currently have written up for the column definitions on
the ExampleOutput wiki page would be a nice touch.
or for an unknown argument:
[me@localhost~]$ jvmtop --foo
jvmtop: unrecognized option '--foo'
Try --help for more information.
Actual:
[me@localhost~]$ jvmtop --help
Exception in thread "main" java.lang.NumberFormatException: For input string:
"--help"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:492)
at java.lang.Integer.parseInt(Integer.java:527)
at com.jvmtop.JvmTop.main(JvmTop.java:122)
Original issue reported on code.google.com by DaveParillo
on 8 Aug 2013 at 11:49
Please provide a downloadable file for the source code, other than using the
standard download link from the source tab in the the google code source
browser. This is going to be more downstream friendly to provide to other
operating systems.
Right now I can only do it this way:
http://jvmtop.googlecode.com/archive/a3904b5b7e3adc5244e8658f8c54ef849e3ca56e.zi
p
However there is no way to track this in being changed. However, if you had a
downloadable link named, for example: jvmtop-src-0.8.0.tar.gz or
jvmtop-src-0.8.0.zip, this can be tracked quiet easily.
Thanks so much!
-jgh
Original issue reported on code.google.com by [email protected]
on 18 Dec 2013 at 6:52
JvmTop 0.6.0 alpha amd64, 4 cpus, Linux 2.6.18-19
http://code.google.com/p/jvmtop
ERROR: Could not attach to process.
java -version
java version "1.6.0_22"
Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)
Original issue reported on code.google.com by [email protected]
on 12 Jul 2013 at 3:58
Before submitting a bug report, please check the FAQ:
http://code.google.com/p/jvmtop/wiki/FAQ
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of jvmtop are you using? On what operating system?
Please post the output of the following commands:
java -version
echo $JAVA_HOME (for unix/linux systems)
echo %JAVA_HOME% (for windows)
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 11 Feb 2014 at 1:30
What steps will reproduce the problem?
1.excute jvmtop.sh
What is the expected output? What do you see instead?
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)
What version of jvmtop are you using? On what operating system?
JVMTOP 0.5 and 0.6
Please post the output of the following commands:
java -version
echo $JAVA_HOME (for unix/linux systems)
echo %JAVA_HOME% (for windows)
/usr/java/jdk1.5.0_22
Please provide any additional information below.
use jvmtop to monitor weblogic thread.
Original issue reported on code.google.com by [email protected]
on 11 Jul 2013 at 8:25
What steps will reproduce the problem?
1.Process running under root.
2.Execute jvmtop.sh <pid> at command-line
What is the expected output? What do you see instead?
Throws below exception:
[ java.io.IOException: Agent JAR loaded but agent failed to initialize
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:207)
at com.jvmtop.VMInfo.processNewVM(VMInfo.java:163)
at com.jvmtop.VMDetailView.<init>(VMDetailView.java:26)
at com.jvmtop.JvmTop.main(JvmTop.java:35)
Caused by: com.sun.tools.attach.AgentInitializationException: Agent JAR loaded
but agent failed to initialize
at sun.tools.attach.HotSpotVirtualMachine.loadAgent(HotSpotVirtualMachine.java:103)
at com.jvmtop.openjdk.tools.LocalVirtualMachine.loadManagementAgent(LocalVirtualMachine.java:368)
... 7 more ]
What version of jvmtop are you using? On what operating system?
jvmtop version : jvmtop 0.6.0 alpha
Please post the output of the following commands:
java -version :
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) 64-Bit Server VM (build 14.2-b01, mixed mode)
echo $JAVA_HOME (for unix/linux systems):
/opt/jdk1.6.0_16
echo %JAVA_HOME% (for windows)
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 17 Jun 2013 at 4:30
Hi Guys,
I am more interested in jvmtop I am trying to build Error.
Please share jar jvmtop.
root@dvcliftonhera122:~/jvmtop/jvmtop# ant -buildfile build.xml
Buildfile: /root/jvmtop/jvmtop/build.xml
init:
compile:
[javac] Compiling 14 source files to /root/jvmtop/jvmtop/build
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/monitor/VMInfo.java:43: package com.sun.tools.attach does not exist
[javac] import com.sun.tools.attach.AttachNotSupportedException;
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/ProxyClient.java:89: warning: sun.rmi.server.UnicastRef2 is internal proprietary API and may be removed in a future release
[javac] import sun.rmi.server.UnicastRef2;
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/ProxyClient.java:90: warning: sun.rmi.transport.LiveRef is internal proprietary API and may be removed in a future release
[javac] import sun.rmi.transport.LiveRef;
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:41: package sun.jvmstat.monitor does not exist
[javac] import sun.jvmstat.monitor.HostIdentifier;
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:42: package sun.jvmstat.monitor does not exist
[javac] import sun.jvmstat.monitor.MonitorException;
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:43: package sun.jvmstat.monitor does not exist
[javac] import sun.jvmstat.monitor.MonitoredHost;
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:44: package sun.jvmstat.monitor does not exist
[javac] import sun.jvmstat.monitor.MonitoredVm;
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:45: package sun.jvmstat.monitor does not exist
[javac] import sun.jvmstat.monitor.MonitoredVmUtil;
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:46: package sun.jvmstat.monitor does not exist
[javac] import sun.jvmstat.monitor.VmIdentifier;
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:47: warning: sun.management.ConnectorAddressLink is internal proprietary API and may be removed in a future release
[javac] import sun.management.ConnectorAddressLink;
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:49: package com.sun.tools.attach does not exist
[javac] import com.sun.tools.attach.AgentInitializationException;
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:50: package com.sun.tools.attach does not exist
[javac] import com.sun.tools.attach.AgentLoadException;
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:51: package com.sun.tools.attach does not exist
[javac] import com.sun.tools.attach.AttachNotSupportedException;
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:52: package com.sun.tools.attach does not exist
[javac] import com.sun.tools.attach.VirtualMachine;
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:53: package com.sun.tools.attach does not exist
[javac] import com.sun.tools.attach.VirtualMachineDescriptor;
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/monitor/VMInfo.java:216: cannot find symbol
[javac] symbol : class AttachNotSupportedException
[javac] location: class com.jvmtop.monitor.VMInfo
[javac] throws AttachNotSupportedException, IOException, NoSuchMethodException,
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:318: cannot find symbol
[javac] symbol : class VirtualMachine
[javac] location: class com.jvmtop.openjdk.tools.LocalVirtualMachine
[javac] public static LocalVirtualMachine getDelegateMachine(VirtualMachine vm)
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/monitor/VMInfo.java:246: cannot find symbol
[javac] symbol : class AttachNotSupportedException
[javac] location: class com.jvmtop.monitor.VMInfo
[javac] && e.getCause() instanceof AttachNotSupportedException)
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/ProxyClient.java:218: warning: sun.rmi.server.UnicastRef2 is internal proprietary API and may be removed in a future release
[javac] if (ref.getClass() != UnicastRef2.class) {
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/ProxyClient.java:220: warning: sun.rmi.server.UnicastRef2 is internal proprietary API and may be removed in a future release
[javac] "Expecting a " + UnicastRef2.class.getName() +
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/ProxyClient.java:226: warning: sun.rmi.transport.LiveRef is internal proprietary API and may be removed in a future release
[javac] LiveRef liveRef = ((UnicastRef2)ref).getLiveRef();
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/ProxyClient.java:226: warning: sun.rmi.server.UnicastRef2 is internal proprietary API and may be removed in a future release
[javac] LiveRef liveRef = ((UnicastRef2)ref).getLiveRef();
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:197: cannot find symbol
[javac] symbol : class MonitoredHost
[javac] location: class com.jvmtop.openjdk.tools.LocalVirtualMachine
[javac] MonitoredHost host;
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:201: cannot find symbol
[javac] symbol : class HostIdentifier
[javac] location: class com.jvmtop.openjdk.tools.LocalVirtualMachine
[javac] host = MonitoredHost.getMonitoredHost(new HostIdentifier((String) null));
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:201: cannot find symbol
[javac] symbol : variable MonitoredHost
[javac] location: class com.jvmtop.openjdk.tools.LocalVirtualMachine
[javac] host = MonitoredHost.getMonitoredHost(new HostIdentifier((String) null));
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:208: cannot find symbol
[javac] symbol : class MonitorException
[javac] location: class com.jvmtop.openjdk.tools.LocalVirtualMachine
[javac] catch (MonitorException mx)
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:226: cannot find symbol
[javac] symbol : class MonitoredVm
[javac] location: class com.jvmtop.openjdk.tools.LocalVirtualMachine
[javac] MonitoredVm mvm = host.getMonitoredVm(new VmIdentifier(name));
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:226: cannot find symbol
[javac] symbol : class VmIdentifier
[javac] location: class com.jvmtop.openjdk.tools.LocalVirtualMachine
[javac] MonitoredVm mvm = host.getMonitoredVm(new VmIdentifier(name));
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:228: cannot find symbol
[javac] symbol : variable MonitoredVmUtil
[javac] location: class com.jvmtop.openjdk.tools.LocalVirtualMachine
[javac] name = MonitoredVmUtil.commandLine(mvm);
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:229: cannot find symbol
[javac] symbol : variable MonitoredVmUtil
[javac] location: class com.jvmtop.openjdk.tools.LocalVirtualMachine
[javac] attachable = MonitoredVmUtil.isAttachable(mvm);
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:230: warning: sun.management.ConnectorAddressLink is internal proprietary API and may be removed in a future release
[javac] address = ConnectorAddressLink.importFrom(pid);
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:248: cannot find symbol
[javac] symbol : class VirtualMachineDescriptor
[javac] location: class com.jvmtop.openjdk.tools.LocalVirtualMachine
[javac] List<VirtualMachineDescriptor> vms = VirtualMachine.list();
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:248: cannot find symbol
[javac] symbol : variable VirtualMachine
[javac] location: class com.jvmtop.openjdk.tools.LocalVirtualMachine
[javac] List<VirtualMachineDescriptor> vms = VirtualMachine.list();
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:249: cannot find symbol
[javac] symbol : class VirtualMachineDescriptor
[javac] location: class com.jvmtop.openjdk.tools.LocalVirtualMachine
[javac] for (VirtualMachineDescriptor vmd : vms)
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:260: cannot find symbol
[javac] symbol : class VirtualMachine
[javac] location: class com.jvmtop.openjdk.tools.LocalVirtualMachine
[javac] VirtualMachine vm = VirtualMachine.attach(vmd);
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:260: cannot find symbol
[javac] symbol : variable VirtualMachine
[javac] location: class com.jvmtop.openjdk.tools.LocalVirtualMachine
[javac] VirtualMachine vm = VirtualMachine.attach(vmd);
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:266: cannot find symbol
[javac] symbol : class AttachNotSupportedException
[javac] location: class com.jvmtop.openjdk.tools.LocalVirtualMachine
[javac] catch (AttachNotSupportedException x)
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:307: cannot find symbol
[javac] symbol : class VirtualMachine
[javac] location: class com.jvmtop.openjdk.tools.LocalVirtualMachine
[javac] VirtualMachine vm = VirtualMachine.attach(name);
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:307: cannot find symbol
[javac] symbol : variable VirtualMachine
[javac] location: class com.jvmtop.openjdk.tools.LocalVirtualMachine
[javac] VirtualMachine vm = VirtualMachine.attach(name);
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:337: cannot find symbol
[javac] symbol : class VirtualMachine
[javac] location: class com.jvmtop.openjdk.tools.LocalVirtualMachine
[javac] VirtualMachine vm = null;
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:341: cannot find symbol
[javac] symbol : variable VirtualMachine
[javac] location: class com.jvmtop.openjdk.tools.LocalVirtualMachine
[javac] vm = VirtualMachine.attach(name);
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:343: cannot find symbol
[javac] symbol : class AttachNotSupportedException
[javac] location: class com.jvmtop.openjdk.tools.LocalVirtualMachine
[javac] catch (AttachNotSupportedException x)
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:374: cannot find symbol
[javac] symbol : class AgentLoadException
[javac] location: class com.jvmtop.openjdk.tools.LocalVirtualMachine
[javac] catch (AgentLoadException x)
[javac] ^
[javac] /root/jvmtop/jvmtop/src/com/jvmtop/openjdk/tools/LocalVirtualMachine.java:380: cannot find symbol
[javac] symbol : class AgentInitializationException
[javac] location: class com.jvmtop.openjdk.tools.LocalVirtualMachine
[javac] catch (AgentInitializationException x)
[javac] ^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 36 errors
[javac] 8 warnings
BUILD FAILED
/root/jvmtop/jvmtop/build.xml:33: Compile failed; see the compiler error output
for details.
we are using ubutnu 12.04 amd system.
root@dvcliftonhera122:~/jvmtop/jvmtop# java -version
java version "1.6.0_30"
Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
Java HotSpot(TM) 64-Bit Server VM (build 20.5-b03, mixed mode)
Original issue reported on code.google.com by [email protected]
on 8 Sep 2013 at 7:24
[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.