Using MDB
MDB is available on Oracle Solaris systems as two commands that share common features: mdb and kmdb.
-
You can use the
mdbcommand 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 themdbcommand as described in themdb(1) man page. -
You can use the
kmdbcommand 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 -Kcommands. For information about these commands, see kmdb Debugger Entry and themdb(1) man page.