Thread: vmenum
View Single Post
  #4  
Old 04-03-2017, 22:42
Mkz Mkz is offline
Friend
 
Join Date: Jan 2002
Posts: 98
Rept. Given: 0
Rept. Rcvd 2 Times in 2 Posts
Thanks Given: 5
Thanks Rcvd at 25 Times in 17 Posts
Mkz Reputation: 2
Perhaps I'm missing something, but all this (and much more) can be obtained with several binaries provided by the JDK itself:
  1. jcmd -l (or jps)
    Lists all local java processes that you can control with the rest of the commands
  2. jcmd <pid> help
    Lists all commands accepted by the target java process
  3. jinfo -sysprops <pid>
    Lists system properties for that process (-flags also available)
  4. jstack <pid>
    Fetches the thread stack traces for the process
  5. jcmd <pid> JFR.start ...
    Example of one of the commands to apply to a process (start recording info for performance tuning)
The list goes on and on.
Reply With Quote