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

Include PID in the JFR jcmd hint

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      jfr
    • Resolved In Build:
      b20

      Backports

        Description

        From [~vvoskres]:

        <--->
        Hello Marcus,

        I have the following usability issue:
        when java process is run under JFR it prints in output smth like Use JFR.dump name=Moz filename=FILEPATH to copy recording data to file.

        Could you, please, add PID number to this hint?
        Because usual usecase is to call from other shell jcmd 17003 JFR.dump name=Moz filename= but I have to find PID 17003 in PS which just consume extra time and I might be mistaken when have a lot of java apps running on workstation.

        Thanks,
        Vladimir.
        <--->

        I'm thinking maybe add jcmd too, i.e. jcmd 17003 JFR.dump name=Moz filename=FILENAME.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                egahlin Erik Gahlin
                Reporter:
                hirt Marcus Hirt
                Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: