jmap kills process if non-java pid is specified in the command line

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: 7
    • Component/s: core-svc
    • x86
    • linux

      shafi@shafi-ahmad:$ ps -aef | grep firefox
      shafi 23675 864 70 17:16 ? 00:00:05 /usr/lib/firefox/firefox
      shafi 23750 2173 0 17:16 pts/1 00:00:00 grep --color=auto firefox

      Above command shows firefox is running.

      shafi@shafi-ahmad:$ jmap -dump:live,format=b,file=heap_dump.hprof 23675
      23675: Unable to open socket file: target process not responding or HotSpot VM not loaded
      The -F option can be used when the target process is not responding

      shafi@shafi-ahmad:$ ps -aef | grep firefox
      shafi 23805 2173 0 17:17 pts/1 00:00:00 grep --color=auto firefox

            Assignee:
            Gary Adams (Inactive)
            Reporter:
            Shafi Ahmad (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: