Comments (9)
[deleted comment]
from jvmtop.
[deleted comment]
from jvmtop.
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 [email protected]
on 23 May 2013 at 4:15
from jvmtop.
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 [email protected]
on 23 May 2013 at 5:23
from jvmtop.
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 [email protected]
on 23 May 2013 at 7:21
from jvmtop.
[deleted comment]
from jvmtop.
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 [email protected]
on 24 May 2013 at 10:24
from jvmtop.
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 [email protected]
on 24 May 2013 at 1:20
from jvmtop.
Fixed in version 0.5.0
You're welcome - and thanks for your quick retest.
Original comment by [email protected]
on 24 May 2013 at 1:33
- Changed state: Fixed
from jvmtop.
Related Issues (20)
- APIs for jvmtop HOT 2
- NOT COMPATIBLE WITH RED_HAT_5 HOT 10
- sles11 s390x with IBM SDK - java.io.IOException: ATTACH_ERR HOT 1
- Enhancement : Need Break-up details on NHCUR HOT 2
- Connecting to a PID with -p or --pid does not work HOT 1
- Don't cut thread list in detail mode (as option) HOT 2
- Add sort options in detail mode HOT 1
- reports incorrect cpu usage when running on multi core server HOT 3
- ERROR: Connection refused/access denied HOT 5
- jvmtop.sh cannot be linked HOT 1
- Memory leak in VMOverviewView HOT 1
- HPMAX returns the committed memory of the application and not the actual memory allocated HOT 1
- ERROR: Connection refused/access denied HOT 1
- Processes running under a user with no shell cannot be examined by jvmtop HOT 2
- "Once" function does not show threads for PID
- Improve error message for AttachNotSupportedException
- jvmtop.bat throws an exception when JAVA_HOME has spaces
- JavaTop not running on Ubuntu 14.0
- Operation not permitted
- Exception in thread "main" java.lang.NoClassDefFoundError: com/jvmtop/JvmTop
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jvmtop.