Using MDB
MDB is available on Oracle Solaris systems as two commands that share common features: mdb
and kmdb
.
-
You can use the
mdb
command interactively or in scripts to debug live user processes, user process core files, kernel crash dumps, the live operating system, object files, and other files.To start
mdb
, use themdb
command as described in themdb
(1) man page. -
You can use the
kmdb
command to debug the live operating system kernel and device drivers when you also need to control and halt the execution of the kernel.To start
kmdb
, boot the system as described in thekmdb
(1) man page, or run one of themdb -K
commands. For information about these commands, see kmdb Debugger Entry and themdb
(1) man page.