zoukankan      html  css  js  c++  java
  • jstat -gcutil

    jstat -gcutil 9596 250 12

    jstat -<option> [-t] [-h<lines>] <vmid> [<interval> [<count>]]

     参数解释:

    Options — 选项,我们一般使用 -gcutil 查看gc情况

    vmid    — VM的进程号,即当前运行的java进程号

    interval– 间隔时间,单位为秒或者毫秒

    count   — 打印次数,如果缺省则打印无数次


    S0  — Heap上的 Survivor space 0 区已使用空间的百分比
    S1  — Heap上的 Survivor space 1 区已使用空间的百分比
    E   — Heap上的 Eden space 区已使用空间的百分比
    O   — Heap上的 Old space 区已使用空间的百分比
    P   — Perm space 区已使用空间的百分比
    YGC — 从应用程序启动到采样时发生 Young GC 的次数
    YGCT– 从应用程序启动到采样时 Young GC 所用的时间(单位秒)
    FGC — 从应用程序启动到采样时发生 Full GC 的次数
    FGCT– 从应用程序启动到采样时 Full GC 所用的时间(单位秒)
    GCT — 从应用程序启动到采样时用于垃圾回收的总时间(单位秒)

     

     

  • 相关阅读:
    linux常用命令
    练习00004
    python学习第六天
    练习00003
    练习00002
    python学习第四天
    练习00001
    Linux_安装mysql踩坑日记
    Linux_更改远程登录端口以及禁止root用户登录
    redis_基础_基本使用
  • 原文地址:https://www.cnblogs.com/lnas01/p/6528114.html
Copyright © 2011-2022 走看看