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

jcmd man page description of "command [arguments]" broken

XMLWordPrintable

    • b01
    • generic
    • generic
    • Verified

        In the JDK 7 man pages for jcmd, the description of the "command [arguments]" part of the command line is missing and in its place is a repetition of the description of "main-class" instead.

        http://docs.oracle.com/javase/7/docs/technotes/tools/solaris/jcmd.html
        http://docs.oracle.com/javase/7/docs/technotes/tools/windows/jcmd.html

        The JDK 8 pages seem to have the correct description:

        http://docs.oracle.com/javase/8/docs/technotes/tools/unix/jcmd.html

        "The command to be sent to the specified Java process. The list of available diagnostic commands for a given process can be obtained by sending the help command to this process. Each diagnostic command has its own set of arguments. To see the description, syntax, and a list of available arguments for a command, use the name of the command as the argument for the help command."

              rgallard Raymond Gallardo
              dbuck David Buck
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: