jstat View GC

Reprinted from: http://blog.csdn.net/keda8997110/article/details/8608826

pid view:  http://coffeehot.iteye.com/blog/2148189

jstat

       1. jstat -gc pid

            Can display gc information, check the number of gc, and time.

            The last five items are the number of young gc, the time of young gc, the number of full gc, the time of full gc, and the total time of gc.

      2.jstat -gccapacity pid

            It can display the usage and size of the three generations (young, old, perm) objects in the VM memory,

            For example: PGCMN shows the minimum perm memory usage, PGCMX shows the perm maximum memory usage,

            PGC is the current newly generated perm memory usage, PC is the previous perm memory usage.

            Others can be analogized according to this, OC is the pure occupancy in old.

     3.jstat -gcutil pid

            Statistics gc information statistics.

     4.jstat -gcnew pid

           Information about young generation objects.

     5.jstat -gcnewcapacity pid

           Information about young generation objects and their occupancy.

     6.jstat -gcold pid

          Information about the old generation object.

     7.stat -gcoldcapacity pid

          Information about old generation objects and their occupancy.

     8.jstat -gcpermcapacity pid

          Information about the perm object and its occupancy.

     9.jstat -class pid

          显示加载class的数量,及所占空间等信息。
     10.jstat -compiler pid

          显示VM实时编译的数量等信息。

     11.stat -printcompilation pid

          当前VM执行的信息。

        一些术语的中文解释:

         S0C:年轻代中第一个survivor(幸存区)的容量 (字节)
         S1C:年轻代中第二个survivor(幸存区)的容量 (字节)
         S0U:年轻代中第一个survivor(幸存区)目前已使用空间 (字节)
         S1U:年轻代中第二个survivor(幸存区)目前已使用空间 (字节)
           EC:年轻代中Eden(伊甸园)的容量 (字节)
           EU:年轻代中Eden(伊甸园)目前已使用空间 (字节)
           OC:Old代的容量 (字节)
           OU:Old代目前已使用空间 (字节)
           PC:Perm(持久代)的容量 (字节)
           PU:Perm(持久代)目前已使用空间 (字节)
         YGC:从应用程序启动到采样时年轻代中gc次数
       YGCT:从应用程序启动到采样时年轻代中gc所用时间(s)
         FGC:从应用程序启动到采样时old代(全gc)gc次数
       FGCT:从应用程序启动到采样时old代(全gc)gc所用时间(s)
         GCT:从应用程序启动到采样时gc用的总时间(s)

    NGCMN:年轻代(young)中初始化(最小)的大小 (字节)

    NGCMX:年轻代(young)的最大容量 (字节)

        NGC:年轻代(young)中当前的容量 (字节)

   OGCMN:old代中初始化(最小)的大小 (字节) 

   OGCMX:old代的最大容量 (字节)

       OGC:old代当前新生成的容量 (字节)

   PGCMN:perm代中初始化(最小)的大小 (字节) 

   PGCMX:perm代的最大容量 (字节)   

       PGC:perm代当前新生成的容量 (字节)

          S0:年轻代中第一个survivor(幸存区)已使用的占当前容量百分比

         S1:年轻代中第二个survivor(幸存区)已使用的占当前容量百分比

           E:年轻代中Eden(伊甸园)已使用的占当前容量百分比

           O:old代已使用的占当前容量百分比

           P:perm代已使用的占当前容量百分比

  S0CMX:年轻代中第一个survivor(幸存区)的最大容量 (字节)

 S1CMX :年轻代中第二个survivor(幸存区)的最大容量 (字节)

    ECMX:年轻代中Eden(伊甸园)的最大容量 (字节)

       DSS:当前需要survivor(幸存区)的容量 (字节)(Eden区已满)

          TT: 持有次数限制

       MTT : 最大持有次数限制

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326447704&siteId=291194637