Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
[deleted comment]
Unfortunately, this is not a jvmtop limitation/bug but a security restriction
built in the (target) JVM to prevent other users to get insight in processes
which they don't own, root included.
For the same reason you can't connect to these processes neither using the
official monitoring tools like jconsole, even under root.
There might be a chance to spoof this security security check if jvmtop is
running under root however further investigation is required to see if this is
possible at all.
If you want to help you can look at the following question which is describing
the details for such a spoof:
http://stackoverflow.com/questions/15974356/unix-sockets-is-it-possible-to-spoof
-getsockopt-so-peercred
Original comment by patric.r...@gmail.com
on 23 May 2013 at 4:15
One point about your response (thanks by the way), with root I can connect
JConsole to all JVMs on the system, regardless who the owner is.
Original comment by nicflatt...@gmail.com
on 23 May 2013 at 5:23
I just tried this - and you're right, it definitely works - at least on linux
and the oracle jdk 6.
Thank you - no idea why I had this incorrect fact in my mind.
I'll investigate this further - stay tuned for an update.
Original comment by patric.r...@gmail.com
on 23 May 2013 at 7:21
[deleted comment]
Can you please retry this (under root), using the release candidate:
http://jvmtop.googlecode.com/files/jvmtop-0.4.2.tar.gz
Original comment by patric.r...@gmail.com
on 24 May 2013 at 10:24
Thank you sir!!! It works perfectly!
I tried both the regular and detailed view, and as long as I am root, I can
attach to everything.
I will definitely keep an active watch on this project as it is very good for
my needs.
Regards, Nic.
Original comment by nicflatt...@gmail.com
on 24 May 2013 at 1:20
Fixed in version 0.5.0
You're welcome - and thanks for your quick retest.
Original comment by patric.r...@gmail.com
on 24 May 2013 at 1:33
Original issue reported on code.google.com by
nicflatt...@gmail.com
on 23 May 2013 at 3:11