JCONSOLE(1)

πŸ“¦ version 23.0.2.0, in opensuse-leap 16.0

πŸ’… NAME πŸ’… β€” jconsole(1) / JCONSOLE(1) from JDK Commands ✨

Okay so bestie, welcome to the JCONSOLE(1) page from the JDK Commands set. The main character here is jconsole, and its whole thing is: start a graphical console to monitor and manage Java applications. Slay. πŸ’–

✨ SYNOPSIS ✨

Run it like this, fr fr:

jconsole [-interval=n] [-notile] [-plugin path] [-version] [connection ...  ] [-Jinput_arguments]

jconsole -help

πŸŽ€ OPTIONS πŸŽ€

  • -interval β€” sets the update interval to n seconds (default is 4 seconds). ⏱️
  • -notile β€” doesn't tile the windows for two or more connections. No tiling, no problem. πŸͺŸ
  • -pluginpath path β€” specifies the path that jconsole uses to look up plug-ins. The plug-in path should contain a provider-configuration file named META-INF/services/com.sun.tools.jconsole.JConsolePlugin that contains one line for each plug-in. The line specifies the fully qualified class name of the class implementing the com.sun.tools.jconsole.JConsolePlugin class. 🧩
  • -version β€” prints the program version. Version check, iconic. πŸ‘‘
  • connection = pid | host:port | jmxURL β€” a connection is described by either pid, host:port or jmxURL. πŸ”Œ
    • The pid value is the process ID of a target process. The JVM must be running with the same user ID as the user ID running the jconsole command. 🫢
    • The host:port values are the name of the host system on which the JVM is running, and the port number specified by the system property com.sun.management.jmxremote.port when the JVM was started. 🌐
    • The jmxUrl value is the address of the JMX agent to be connected to as described in JMXServiceURL. πŸ¦‹
  • -Jinput_arguments β€” passes input_arguments to the JVM on which the jconsole command is run. πŸš€
  • -help or --help β€” displays the help message for the command. Help is help, bestie. 😭

🌈 DESCRIPTION 🌈

The jconsole command starts a graphical console tool that lets you monitor and manage Java applications and virtual machines on a local or remote machine. Literally the whole vibe. πŸ’»βœ¨

On Windows, the jconsole command doesn't associate with a console window. It does, however, display a dialog box with error information when the jconsole command fails. Windows said β€œno console window, but I will give you an error dialog.” πŸ™ˆ


Source/version and date sign-off: this page is from JDK 23, dated 2024 β€” mwah, bye bestie! πŸ’‹πŸŽ€

πŸ“¦ where this page comes from