Java工具应用(转老外)规格严格

Java工具应用(转老外)规格严格,第1张

jmap (memory map) prints shared object memory maps or heap memory details of a given process or core file or a remote debug server. If the given process is running on a 64-bit VM, you may need to specify the -J-d64 option.

jhat (Java heap analysis tool) command parses a java heap dump file and launches a webserver. jhat enables you to browse heap dumps using your favorite webbrowser. jhat supports pre-designed queries (such as ‘show all instances of a known class “Foo”‘) as well as OQL (Object Query Language) – a SQL-like query language to query heap dumps.

jconsole (Java monitoring and management console) command launches a graphical console tool that enables you to monitor and manage Java applications and virtual machines on a local or remote machine.

jps (JVM process status tool) tool lists the instrumented HotSpot Java Virtual Machines (JVMs) on the target system. The tool is limited to reporting information on JVMs for which it has the access permissions.

jstack (stack trace) prints Java stack traces of Java threads for a given Java process or core file or a remote debug server. For each Java frame, the full class name, method name, ‘bci’ (byte code index) and line number, if available, are printed.

jinfo (configuration info) prints Java configuration information for a given Java process or core file or a remote debug server. Configuration information includes Java System properties and Java virtual machine command line flags. If the given process is running on a 64-bit VM, you may need to specify the -J-d64 option.

jrunscript (command line script shell) is a command line script shell. jrunscript supports both an interactive (read-eval-print) mode and a batch (-f option) mode of script execution.

jstat (JVM statistics monitoring tool) tool displays performance statistics for an instrumented HotSpot Java virtual machine (JVM). The target JVM is identified by its virtual machine identifier.

jvisualvm – The Java VisualVM tools distributed with the JDK since JDK 6 update 7 can also be used to analyze heap dumps, thread dumps, and core files. See in particular Working with Core Dumps in the Java VisualVM guide.

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/2091845.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-07-22
下一篇 2022-07-22

发表评论

登录后才能评论

评论列表(0条)

保存