Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8336684

Enhance JCmd by adding a new command to summarize target r/t metadata

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Rejected
    • Icon: P4 P4
    • tbd
    • None
    • core-svc
    • generic
    • generic

      there are existing jcmds that (partially) summarize target JVM invocation metadata e.g:
      - VM.Version
      - VM.Uptime
      - VM.Command_line
      - VM.Flags
      - VM.Info
      - ...

      many agents and other tools collect and potentially log this metadata, however having the metadata currently implemented by multiple JCmds is
      for some use cases non-optimal requiring multiple jcmd round trips to collect.

      a new Jcmd that summarizes (in a single operation):
      - JVM start time/uptime
      - JVM process id
      - JVM/JDK version info
      - location of JAVA_HOME/JDK
      - class path
      - module path (if set) (and any other module metadata)
      - java command program arguments
      - jvm command line options/flags
      - any loaded agents
      - status of mgmt agent
      - ...

      this would enable a tool to capture the invocation state of the target JVM in a single operation (optionally appending it to a specified file)

            lcable Larry Cable
            lcable Larry Cable
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: