Solaris Tip of the Week: Use mdb to View Process Stack


 
Thread Tools Search this Thread
Operating Systems Solaris Solaris BigAdmin RSS Solaris Tip of the Week: Use mdb to View Process Stack
# 1  
Old 08-31-2009
Solaris Tip of the Week: Use mdb to View Process Stack

The Solaris pstack command can be used to view most user process stacks, but in some situations, even pstack -F cannot be used to view the process stack. This tip shows how to use the mdb command to view the stack.

More...
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question
adb(1)                                                             User Commands                                                            adb(1)

NAME
adb - general-purpose debugger SYNOPSIS
adb [-kw] [-I dir] [-P prompt] [-V mode] [ object [ core]] DESCRIPTION
The adb utility is an interactive, general-purpose debugger. It can be used to examine files and provides a controlled environment for the execution of programs. The adb utility is now implemented as a link to the mdb(1) utility in Solaris 9. mdb(1) is a low-level debugging utility that can be used to examine user processes as well as the live operating system or operating system crash dumps. The new mdb(1) utility provides complete backwards compatibility with the existing syntax and features of adb, including support for processing adb macro files. The Solaris Modular Debugger Guide and mdb(1) man page describes the features of mdb, including its adb compatibility mode. This mode will be activated by default when the adb link is executed. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWmdb | +-----------------------------+-----------------------------+ SEE ALSO
mdb(1), attributes(5) Solaris Modular Debugger Guide SunOS 5.10 19 Aug 2003 adb(1)