Hi Thomas,


Are you running in two separate Terminal Server Sessions? 


You need to be in the same WindowsStation 





From: Thomas Stüfe [mailto:thomas.stu...@gmail.com] 
Sent: den 9 april 2018 17:24
To: serviceability-dev@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 


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

Reply via email to