jstat command to check the status of the JVM GC

Reproduced in    https://www.cnblogs.com/alter888/p/10407952.html

 

jstat command to view the amount of each portion, and the number of loaded classes heap memory. Format of the command is as follows:

 jstat [- command options] [vmid] [interval / ms] [queries]

 note! ! ! : Jdk version is jdk8.

 

  Class loading statistics:

 

  • Loaded: load the number of class
  • Bytes: occupied space
  • Unloaded: Quantity is not loaded
  • Bytes: not loaded space
  • Time: Time

 

  Compile statistics

 

  • Compiled: the number of compilation.
  • Failed: the number of failures
  • Invalid: not quantifiable
  • Time: Time
  • FailedType: type of failure
  • FailedMethod: method failure

 

  Garbage collection statistics

  • S0C: size of the first surviving area
  • S1C: the size of the second zone of surviving
  • S0U: using the size of the first surviving area
  • S1U: Use the size of the second zone of surviving
  • EC: the size of the area of the Garden of Eden
  • EU: Use the size of the area of the Garden of Eden
  • OC: old's size
  • OU: old's use of size
  • MC: method area size
  • MU: Method using size region
  • CCSC: compression class space
  • CCSU: compression class size space usage
  • YGC: the young generation the number of garbage recycling
  • YGCT: the young generation garbage collection time-consuming
  • FGC: the number of years the old garbage collection
  • FGCT: old's garbage collection time-consuming
  • GCT: garbage collection consume the total time

 

  Heap memory statistics

 

  NGCMN: New Generation minimum capacity

  • NGCMX: the new generation of maximum capacity
  • NGC: Current new generation capacity
  • S0C: The first area the size of a survivor
  • S1C: the size of the second zone of surviving
  • EC: the size of the area of the Garden of Eden
  • OGCMN: old's minimum capacity
  • OGCMX: old's maximum capacity
  • OGC: The current size of the old year
  • OC: The current size of the old year
  • MCMN: minimum capacity Metadata
  • MCMX: The maximum capacity of metadata
  • MC: current metadata space
  • CCSMN: minimum compression space Class
  • CCSMX: maximum compression class space
  • CCSC: current compression class space
  • YGC: the young generation the number of gc
  • FGC: Old number of GC's

 

  The new generation garbage collection statistics

 

  • S0C: The first area the size of a survivor
  • S1C: the size of the second zone of surviving
  • S0U: using the size of the first surviving area
  • S1U: Use the size of the second zone of surviving
  • TT: the number of objects in the new generation of survival
  • MTT: the maximum number of objects in the new generation of survival
  • DSS: the desired size of the surviving area
  • EC: the size of the area of the Garden of Eden
  • EU: Use the size of the area of the Garden of Eden
  • YGC: the young generation the number of garbage recycling
  • YGCT: the young generation garbage collection time-consuming

 

  The new generation of memory statistics

 

  • NGCMN: New Generation minimum capacity
  • NGCMX: the new generation of maximum capacity
  • NGC: Current new generation capacity
  • S0CMX: The maximum size of the surviving Zone 1
  • S0C: The current size of the surviving Zone 1
  • S1CMX: The maximum size of the surviving Zone 2
  • S1C: The current size of the surviving Zone 2
  • ECMX: The maximum size of the Eden District
  • EC: The current size of the Eden District
  • YGC: the young generation the number of garbage recycling
  • FGC: old's recovery times

 

  Garbage collection old's statistics

 

  • MC: method area size
  • MU: Method using size region
  • CCSC: compression class space
  • CCSU: compression class size space usage
  • OC: old's size
  • OU: old's use of size
  • YGC: the young generation the number of garbage recycling
  • FGC: the number of years the old garbage collection
  • FGCT: old's garbage collection time-consuming
  • GCT: garbage collection consume the total time

 

 Old's memory statistics

 

  • OGCMN: old's minimum capacity
  • OGCMX: old's maximum capacity
  • OGC: The current size of the old year
  • OC: old's size
  • YGC: the young generation the number of garbage recycling
  • FGC: the number of years the old garbage collection
  • FGCT: old's garbage collection time-consuming
  • GCT: garbage collection consume the total time

 

 Metadata spatial statistics

 

  • MCMN:  minimum capacity Metadata
  • MCMX: The maximum capacity of metadata
  • MC: current metadata space
  • CCSMN: minimum compression space Class
  • CCSMX: maximum compression class space
  • CCSC: current compression class space
  • YGC: the young generation the number of garbage recycling
  • FGC: the number of years the old garbage collection
  • FGCT: old's garbage collection time-consuming
  • GCT: garbage collection consume the total time

 

 Garbage collection statistics summary

 

  • S0: surviving the current Zone 1 use ratio
  • S1: surviving area currently used in a proportion 2
  • E: Eden area using a proportional
  • O: the proportion of older years
  • M: metadata area ratio using
  • CCS: compression ratio Use
  • YGC: the young generation the number of garbage recycling
  • FGC: the number of years the old garbage collection
  • FGCT: old's garbage collection time-consuming
  • GCT: garbage collection consume the total time

 

 JVM statistics compiled methods

 

  • : Compiled number of recent compilation method
  • : Size Number bytecode recently compiled method
  • Type: compilation type recently compiled method.
  • Method: method name identification.

Guess you like

Origin www.cnblogs.com/pyng/p/11616978.html