jcmd, windows x64: cannot see other processes?
Markus Gronlund
markus.gronlund at oracle.com
Mon Apr 9 15:30:57 UTC 2018
Hi Thomas,
Are you running in two separate Terminal Server Sessions?
You need to be in the same WindowsStation https://msdn.microsoft.com/en-us/library/windows/desktop/ms687096(v=vs.85).aspx
HTH
Markus
From: Thomas Stüfe [mailto:thomas.stuefe at gmail.com]
Sent: den 9 april 2018 17:24
To: serviceability-dev at openjdk.java.net
Subject: jcmd, windows x64: cannot see other processes?
Hi all,
I try to attach a jcmd to a running process on windows x64, but jcmd only lists its own process.
Both jcmd and process are built from jdk-hs.
Then I tried attaching jdk-hs tip jcmd to an older VM (jdk 9), did not work either.
Then - and here it gets weird - I tried attaching a jdk9 jcmd to a jdk9 Vm, and still nothing... am I making a thinking error here? Do I need special options on Windows? On Unix this never gave me any trouble.
Both processes run under the same user, from two console windows. I tried both within and without cygwin too, does not make any difference.
Thanks, Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/serviceability-dev/attachments/20180409/dea3b720/attachment.html>
More information about the serviceability-dev
mailing list