I'd like to get the details like name, running time, etc. of threads of a Java process on a production VM, similar to the info that VisualVM shows in the Threads tab. Unfortunately, VisualVM won't run without JDK installed. Is there any light-weight alternative for Windows? I've already tried the PowerShell command
Get-CimInstance win32_thread -filter “handle = ThreadID”
It does not show anything useful for me.