Table 2-7 lists troubleshooting tools available on Windows operating system.
Table 2-7 Native Troubleshooting Tools on Windows
Tool | Description |
---|---|
|
Command-line utility to verify that a memory dump file has been created correctly. This tool is included in the Debugging Tools for Windows download available from the Microsoft website, see Collect Crash Dumps on Windows. |
|
Command-line utility that can be used to launch Visual C++ and the Win32 debugger |
|
The User Mode Process Dumper is included in the OEM Support Tools download available from the Microsoft website, see Collect Crash Dumps on Windows. |
|
Windows debugger can be used to debug Windows applications or crash dumps. This tool is included in the Debugging Tools for Windows download available from the Microsoft website, see Collect Crash Dumps on Windows. |
|
Compiler options that automatically include extra support for tracking memory allocations |
Table 2-8 describes some troubleshooting tools introduced or improved in Linux operating system version 10.
Table 2-8 Native Troubleshooting Tools on Linux
Tool | Description |
---|---|
|
Demangle C++ mangled symbol names. This utility is delivered with the native C++ compiler suite: |
|
GNU debugger |
|
Memory allocation tracking |
|
Print thread stack (similar to Not all distributions provide this tool by default; therefore, you might have to download it from Open Source downloads. |
|
Library call tracer (equivalent to Not all distributions provide this tool by default; therefore, you might have to download it from Open Source downloads. |
|
GNU |
|
Some, but not all, of the |
|
System call tracer (equivalent to |
|
Display most CPU-intensive processes. |
|
Report information about processes, memory, paging, block I/O, traps, and CPU activity. |
Table 2-9 lists troubleshooting tools available on Oracle Solaris operating system.
Table 2-9 Native Troubleshooting Tools on Oracle Solaris Operating System
Tool | Description |
---|---|
|
Specify name and location of core files produced by the JVM. |
|
Monitor system behavior using CPU performance counters. |
|
Monitor process and LWP behavior using CPU performance counters. |
|
Demangle C++ mangled symbol names. This utility is delivered with the native C++ compiler suite: |
|
Introduced in Oracle Solaris 10 operating system, DTrace is a dynamic tracing compiler and tracing utility. It can perform dynamic tracing of kernel functions, system calls, and user functions. This tool allows arbitrary, safe scripting to be executed at entry, exit, and other probe points. The script is written in C-like but safe pointer semantics language called the D programming language. See also DTrace Tool. |
|
Force a core dump of a process. The process continues after the core dump is written. |
|
Report statistics on CPU consumed by interrupt threads. |
|
Report I/O statistics. |
|
Introduced in Oracle Solaris 9 operating system update 3, this library provides fast, scalable object-caching memory allocation and extensive debugging support. The tool can be used to find and fix memory management bugs, see Find Leaks with libumem Tool. |
|
Modular debugger for kernel and user applications and crash dumps |
|
Display the contents of various network-related data structures. |
|
Print process arguments, environment variables, or the auxiliary vector. Long output is not truncated as it would be by other commands, such as |
|
Print information on process file descriptors. Starting with Oracle Solaris 10 operating system, the tool prints the file name also. |
|
Print shared objects loaded by a process. |
|
Print memory layout of a process or core file, including heap, data, and text sections. Starting with Oracle Solaris 10, stack segments are clearly identified with the text |
|
Report statistics for active Oracle Solaris operating system processes. (Similar to |
|
Set the process to running mode (reverse of |
|
List all processes. |
|
List the signal handlers of a process. |
|
Print stack of threads of a given process or core file. Starting with Oracle Solaris 10 operating system, Java method names can be printed for Java frames. See also Improvements to pstack Tool. |
|
Stop the process (suspend). |
|
Print process tree containing the given PID. |
|
System activity reporter |
|
Display most CPU-intensive processes. (Similar to |
|
Display graphs showing system performance (for example, CPU, disks, and network). |
|
Display most CPU-intensive processes. This tool is available as freeware for Oracle Solaris operating system but is not installed by default. |
|
Display runtime trap statistics. (SPARC only) |
|
Trace entry and exit events for system calls, user-mode functions, and signals; optionally stop the process at one of these events. This tool also prints the arguments of system calls and user functions. |
|
Report system virtual memory statistics. |
|
Track memory allocations. |