Skip to content

Instantly share code, notes, and snippets.

@cleantutorials
Created May 19, 2020 04:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cleantutorials/db39365ff75c7e73cfeeca1383f52245 to your computer and use it in GitHub Desktop.
Save cleantutorials/db39365ff75c7e73cfeeca1383f52245 to your computer and use it in GitHub Desktop.
RemoteJavaProcess.java
package com.cleantutorials.jconsole.jmx;
public class RemoteJavaProcess {
public static void main(String[] args) throws InterruptedException {
System.out.println("Ready for incomming connections from JConsole.");
Thread.sleep(600000);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment