jstat - command-line tool to display detailed performance statistics for a local or remote HotSpot VM

The –gctuil option is used most frequently to display garbage collection information.

Note: When using the Concurrent Mark Sweep (CMS) collector (also known as concurrent collector), jstat reports two full GC events per CMS cycle, which is obviously misleading. However, young generation stats are accurate with the CMS collector.

For example, to display gc information every five seconds of pid 8919


$ jstat -gcutil 8919 5000
  S0     S1     E      O      M     CCS    YGC     YGCT    FGC    FGCT     GCT   
  0.00 100.00  50.00  86.84  90.12  76.65    123    0.646     0    0.000    0.646
  0.00 100.00  73.33  81.31  90.02  76.31    137    0.726     0    0.000    0.726
  0.00 100.00  53.33  85.51  89.89  76.19    147    0.780     0    0.000    0.780
Post a Comment

Featured Post

Updated Coupons / promo codes for Google Apps for Work / Business

To redeem: 1. Sign up for Google Apps   2. Go to your billing settings  3. Choose your payment plan  4. Enter your promo code ...