关于WAS的Log和Diagnose
来源:互联网 发布:twisted python 编辑:程序博客网 时间:2024/06/13 07:39
感觉WAS的Support主要就是分析Log和Dump文件,然后做出Diagnose,以下内容摘抄于:Summary of diagnostic information
Javadump
The Javadump is sometimes referred to as a Javacore or thread dump in some JVMs.
This dump is in a human-readable format produced by default when the JVM terminates unexpectedly because of
an operating system signal, an OutOfMemoryError exception, or when the user enters a reserved key combination(for example, Ctrl-Break on Windows).
You can also generate a Javadump by calling a method from the Dump API, for example com.ibm.jvm.Dump.JavaDump(), from inside the application.
A Javadump summarizes the state of the JVM at the instant the signal occurred.
Much of the content of the Javadump is specific to the IBM JVM.
See Using Javadump for details.
Heapdump
The JVM can generate a Heapdump at the request of the user(for example by calling com.ibm.jvm.Dump.HeapDump() from inside the application) or
by default when the JVM ends because of an OutOfMemoryError exception.
You can specify finer control of the timing of a Heapdump with th -Xdump:heap option.
For example, you could request a Heapdump after a certain number of full garbage collections have occurred.
The default Heapdump format (phd files) is not human-readable and must be processed using available tools such as Memory Analyzer.
See Using Heapdump for more details.
System dumps
System dumps(also known as core dumps on Linux platforms) are paltform-specific files that contain information about the active processes, threads, and system memory.
System dumps are usually large.
By default, system dumps are produced by the JVM only
when the JVM fails unexpectedly because of a GPF(general protection fault) or a major JVM or system error.
You can also request to system dump by using the Dump API.
For example, you can call the com.ibm.jvm.Dump.SystemDump() method from your application.
You can use the -Xdump:system option to produce system dumps when other events occur.
Garbage collection data
A JVM started with the -verbose:gc option produces output in XML format that can be used to analyze problems in the Garbage Collector itself or
problems in the design of user applications.
Numerous other options affect the nature and amount of Garbage Collector diagnostic information produced.
See Garbage Collector diagnostic data for more information.
Trace data
The IBM JVM tracing allows execution points in the Java code and the internal JVM code to be logged.
The -Xtrace option allows the number and areas of trace points to be controlled, as well as the size and nature of the trace buffers maintained.
The internal trace buffers at a time of failure are also available in a system dump and tools are available to extract them from a system dump.
Generally, trace data is written to a file in an encoded format and then a trace formatter converts the data into a readable format.
However, if small amounts of trace are to be produced and performance is not an issue, trace can be routed to STDERR and will be pre-formatted.
For more information, see Tracing Java applications and the JVM.
Other data
Special options are available for producing diagnostic information relating to
- The JIT (see JIT and AOT problem determination)
- Class loading (see Class-loader diagnostic data)
- Shared classes (see Shared classes diagnostic data)
- 关于WAS的Log和Diagnose
- oracle中关于redo log和undo log的详解
- Unhandled exception was raised.Look WinCC Diagnose directory for details.
- WAS的SystemOut.log中报错“ADMS0015E”
- 关于LOG的输出
- 关于log的问题
- 关于WAS的那些事....
- 关于WAS让人蛋疼的节点
- 关于Online Redo Log(ORL)和Standby Redo Log(SRL)的个人理解
- 关于Online Redo Log(ORL)和Standby Redo Log(SRL)的个人理解
- WAS关于跟踪 、日志和消息
- testng单元测试-diagnose依赖compet找不到compet的类
- 关于log的一些脚本
- 关于Log输出的例子
- 关于Android 的Log使用
- 关于LOG日志的处理
- 关于Android的log日志
- Android中关于log的几种区别/log.v log.d log.i log.w log.e
- 4.4 文件管理疑难点 1-2
- Java与字符编码问题详谈
- Java算法面试题及答案
- struts源码2
- 内在锁和同步(Intrinsic Locks and Synchronization)
- 关于WAS的Log和Diagnose
- Sencha Touch用sencha app build native打包应用程序出现问题
- Git常用命令
- Java简单实现的五子棋
- ContentProvider详解
- 致橡树 舒婷
- 听完后连呼吸都抓走…【多首…
- bundle handler.sendMessage 方法…
- android 弹出日期选择框