博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
JVM Input Arguments Lookup (JMX)(转)
阅读量:7090 次
发布时间:2019-06-28

本文共 1750 字,大约阅读时间需要 5 分钟。

JVM Input Arguments Lookup (JMX)

Maps JVM input arguments -- but not main arguments -- using JMX to acquire the JVM arguments.

Use the prefix jvmrunargs to access JVM arguments.

See the Javadocs for .

Java's JMX module is not available on Android.

getInputArguments

<> getInputArguments()
Returns the input arguments passed to the Java virtual machine which does not include the arguments to the 
main method. This method returns an empty list if there is no input argument to the Java virtual machine.

Some Java virtual machine implementations may take input arguments from multiple different sources: for examples, arguments passed from the application that launches the Java virtual machine such as the 'java' command, environment variables, configuration files, etc.

Typically, not all command-line options to the 'java' command are passed to the Java virtual machine. Thus, the returned input arguments may not include all command-line options.

 

getInputArguments

<> getInputArguments()
Returns the input arguments passed to the Java virtual machine which does not include the arguments to the 
main method. This method returns an empty list if there is no input argument to the Java virtual machine.

Some Java virtual machine implementations may take input arguments from multiple different sources: for examples, arguments passed from the application that launches the Java virtual machine such as the 'java' command, environment variables, configuration files, etc.

Typically, not all command-line options to the 'java' command are passed to the Java virtual machine. Thus, the returned input arguments may not include all command-line options.

http://docs.oracle.com/javase/8/docs/api/java/lang/management/RuntimeMXBean.html#getInputArguments--

 

转载地址:http://xryql.baihongyu.com/

你可能感兴趣的文章
从零开始linux下搭建tomcat服务器
查看>>
我的友情链接
查看>>
阿里云高级技术专家带你全面了解云主机性能评测
查看>>
揭秘人工智能(系列):人工智能带来的网络安全威胁
查看>>
《cut命令》-linux命令五分钟系列之十九
查看>>
HCNA实验之VRP基本命令
查看>>
SQL集合函数中利用case when then 技巧
查看>>
页面出div提示层
查看>>
linux下tomcat的日志切割管理
查看>>
01_Maven的安装
查看>>
lvs+keepalived
查看>>
OUYA游戏开发快速入门教程第1章了解OUYA及其设备
查看>>
配置JDKAndroid 2D游戏引擎AndEngine
查看>>
iOS10 UI教程禁用视图与用户的交互
查看>>
LPC1114 贴图
查看>>
keepalvied 配置openmq4_5_2(MessageQueue)的Conventional broker clusters集群(二)
查看>>
未配置永久盘桌面的数据恢复
查看>>
win7 32/64位安装MySQL详细步骤(图文)
查看>>
学习扎记:初识Servlet容器(Web服务器)——Tomcat
查看>>
Javascript获取元素的坐标
查看>>