运行jmap时弹出:Usage: jmap [option] <pid> (to connect to running process) jmap [option] <
生活随笔
收集整理的這篇文章主要介紹了
运行jmap时弹出:Usage: jmap [option] <pid> (to connect to running process) jmap [option] <
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
運行jmap時彈出:
Usage:jmap [option] <pid>(to connect to running process)jmap [option] <executable <core>(to connect to a core file)jmap [option] [server_id@]<remote server IP or hostname>(to connect to remote debug server)where <option> is one of:<none> to print same info as Solaris pmap-heap to print java heap summary-histo[:live] to print histogram of java object heap; if the "live"suboption is specified, only count live objects-clstats to print class loader statistics-finalizerinfo to print information on objects awaiting finalization-dump:<dump-options> to dump java heap in hprof binary formatdump-options:live dump only live objects; if not specified,all objects in the heap are dumped.format=b binary formatfile=<file> dump heap to <file>Example: jmap -dump:live,format=b,file=heap.bin <pid>-F force. Use with -dump:<dump-options> <pid> or -histoto force a heap dump or histogram when <pid> does notrespond. The "live" suboption is not supportedin this mode.-h | -help to print this help message-J<flag> to pass <flag> directly to the runtime system原因:格式填寫錯誤。 導致跳出jmap說明手冊。
我的錯誤:逗號后加了空格。
改正前:jmap -dump:format=b, live, file=2.bin 22748
改正后:jmap -dump:format=b,live,file=2.bin 22748
總結
以上是生活随笔為你收集整理的运行jmap时弹出:Usage: jmap [option] <pid> (to connect to running process) jmap [option] <的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【已解决】Error attaching
- 下一篇: 报错:selenium.common.e