java查看工具jinfo-windows
2015-11-09 22:30
309 查看
Generates configuration information. This command is experimental and unsupported.
jinfo [ option ] executable core
jinfo [ option ] [ servier-id ] remote-hostname-or-IP
option
The command-line options. See Options.
pid
The process ID for which the configuration information is to be printed. The process must be a Java process. To get a list of Java processes running on a machine, use the
executable
The Java executable from which the core dump was produced.
core
The core file for which the configuration information is to be printed.
remote-hostname-or-IP
The remote debug server
server-id
An optional unique ID to use when multiple debug servers are running on the same remote host.
This utility is unsupported and might not be available in future releases of the JDK. In Windows Systems where
Prints both command-line flags and system property name-value pairs.
-flag name
Prints the name and value of the specified command-line flag.
-flag [+|-]name
enables or disables the specified Boolean command-line flag.
-flag name=value
Sets the specified command-line flag to the specified value.
-flags
Prints command-line flags passed to the JVM.
-sysprops
Prints Java system properties as name-value pairs.
-h
Prints a help message.
-help
Prints a help message.
Synopsis
jinfo [ option ] pidjinfo [ option ] executable core
jinfo [ option ] [ servier-id ] remote-hostname-or-IP
option
The command-line options. See Options.
pid
The process ID for which the configuration information is to be printed. The process must be a Java process. To get a list of Java processes running on a machine, use the
jps(1) command.
executable
The Java executable from which the core dump was produced.
core
The core file for which the configuration information is to be printed.
remote-hostname-or-IP
The remote debug server
hostnameor
IPaddress. See
jsadebugd(1).
server-id
An optional unique ID to use when multiple debug servers are running on the same remote host.
Description
Thejinfocommand prints Java configuration information for a specified Java process or core file or a remote debug server. The configuration information includes Java system properties and Java Virtual Machine (JVM) command-line flags. If the specified process is running on a 64-bit JVM, then you might need to specify the
-J-d64option, for example:
jinfo
-J-d64 -sysprops pid.
This utility is unsupported and might not be available in future releases of the JDK. In Windows Systems where
dbgeng.dllis not present, Debugging Tools For Windows must be installed to have these tools working. The
PATHenvironment variable should contain the location of the jvm.dll that is used by the target process or the location from which the crash dump file was produced. For example,
set PATH=%JDK_HOME%\jre\bin\client;%PATH%.
Options
no-optionPrints both command-line flags and system property name-value pairs.
-flag name
Prints the name and value of the specified command-line flag.
-flag [+|-]name
enables or disables the specified Boolean command-line flag.
-flag name=value
Sets the specified command-line flag to the specified value.
-flags
Prints command-line flags passed to the JVM.
-sysprops
Prints Java system properties as name-value pairs.
-h
Prints a help message.
-help
Prints a help message.
相关文章推荐
- java学习小结 11.9
- 黑马程序员——基础知识——Eclipse
- 旋转链表---Rotate List
- Java基础知识 十七 (关于反射一些方法的总结)
- JAVA中泛型的使用
- Java基础知识 十四 (多线程)
- 用struts2标签获取bean里面的属性的时候,会调用get方法
- Java基础知识 十三 IO流(下)
- Java基础知识 十二 IO流 (上)
- Java基础知识 十一 (异常概述)
- Java基础知识 十(Map集合的概述及案例)
- Java基础知识 九 (Collection集合子类 Set集合)
- Java基础知识 八 集合(Collection、List)
- Java基础知识 六 API常用类之String Scanner
- Java基础知识 五 (面向对象的概述及举例)
- Java中String类的介绍及常见用法
- Java中的异常处理
- Java中对象及其三大特征(封装,继…
- Java中多线程总结(下)
- Java中多线程总结(上)