zoukankan      html  css  js  c++  java
  • jinfo

    jinfo是jdk自带的命令,用来查看、修改jvm的配置参数。

    [weblogic@host bin]$ jinfo
    -bash: jinfo: command not found
    [weblogic@host bin]$ ./jinfo
    Usage:
        jinfo [option] <pid>
            (to connect to running process)
        jinfo [option] <executable <core>
            (to connect to a core file)
        jinfo [option] [server_id@]<remote server IP or hostname>
            (to connect to remote debug server)

    where <option> is one of:
        -flag <name>         to print the value of the named VM flag
        -flag [+|-]<name>    to enable or disable the named VM flag
        -flag <name>=<value> to set the named VM flag to the given value
        -flags               to print VM flags
        -sysprops            to print Java system properties
        <no option>          to print both of the above
        -h | -help           to print this help message

    查看jvm的参数

    jinfo -flags process_id

    查看java系统参数

    jinfo -sysprops process_id
  • 相关阅读:
    工商银行在线支付接口
    Runtime-compiler和Runtime-only的区别:
    响应式网站技术精要总结
    ajax基础
    jquery选择器 笔记
    js数组去重的几种方法
    js中的call apply bind
    es6中的类
    bootstrap组件
    es6中的模块化输出
  • 原文地址:https://www.cnblogs.com/jjzd/p/9140024.html
Copyright © 2011-2022 走看看