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

Include PID in the JFR jcmd hint

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 11
    • 9
    • hotspot
    • None
    • jfr
    • b20

        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.

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

                Created:
                Updated:
                Resolved: