jvm信息jmap使用的基本方法教程-創(chuàng)新互聯(lián)

前言

成都地區(qū)優(yōu)秀IDC服務(wù)器托管提供商(創(chuàng)新互聯(lián)).為客戶提供專業(yè)的遂寧托管服務(wù)器,四川各地服務(wù)器托管,遂寧托管服務(wù)器、多線服務(wù)器托管.托管咨詢專線:18980820575

大家都知道有很多開源的監(jiān)控工具,本次只使用了jmap,了解簡單使用,謝謝,下面話不多說了,來一起看看詳細(xì)的介紹吧


使用方法如下:

開始了,922是我的tomcat進(jìn)程

幫助命令查看,有哪些命令可以使用。

[root@bogon /]# jmap -help
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 format
       dump-options:
       live   dump only live objects; if not specified,
          all objects in the heap are dumped.
       format=b  binary format
       file=<file> dump heap to <file>
       Example: jmap -dump:live,format=b,file=heap.bin <pid>
 -F     force. Use with -dump:<dump-options> <pid> or -histo
       to force a heap dump or histogram when <pid> does not
       respond. The "live" suboption is not supported
       in this mode.
 -h | -help   to print this help message
 -J<flag>    to pass <flag> directly to the runtime system

標(biāo)題名稱:jvm信息jmap使用的基本方法教程-創(chuàng)新互聯(lián)
網(wǎng)站網(wǎng)址:http://bm7419.com/article8/gigop.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供網(wǎng)站制作、品牌網(wǎng)站建設(shè)網(wǎng)站排名、品牌網(wǎng)站制作外貿(mào)網(wǎng)站建設(shè)、網(wǎng)站策劃

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來源: 創(chuàng)新互聯(lián)

微信小程序開發(fā)