[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

KDB kernel debugger and kdb command

Subcommand lists

You can view an Alphabetic list of the subcommands or a Task category list.

The alphabetic list contains columns that identify the following:

The task category list provides the following:

Alphabetic list

In the following table, the Usage column indicates when each subcommand can be used with the following codes:

Code
Usage
B
With both the KDB kernel debugger and the kdb command
C
Only with the kdb command
K
Only with the KDB kernel debugger
MP
An MP kernel (64-bit kernel or 32-bit MP kernel)
64
Only with 64-bit kernel
32
Only with 32-bit kernel

The following table shows the KDB Kernel Debug Program subcommands in alphabetic order:

Subcommand, aliases Functions Usage Category
! Serves as a shell escape and provides a convenient way to run UNIX commands without leaving kdb K End user
ames Display VMM address map entries B Display VMM information
apt Display VMM APT entries B Display VMM information
B Step on branch K Breakpoints and steps
b, brk Sets or lists break points K Breakpoints and steps
bdev, wlm_bdev Display wlm bio devices B WLM
bmblock, bmblk, bmb Display Enhanced Journaled File System metadata block B Display Enhanced Journaled File System-specific file system information
bqueue, wlm_bq Display wlm bio queues B WLM
bt Set or list trace points K Debugger trace points
btac Branch target K Branch target (IABR)
buffer, buf Display buffer B Display general file system and Journal File System information
buserr PCI bus error injection K PCI cfg space and I/O debugging
businfo Display structure businfo B PCI cfg space and I/O debugging
c, cl Clear break point K Breakpoints and steps
ca Clear all break points K Breakpoints and steps
cat Clear all trace points K Debugger trace points
cbtac Clear branch target K Branch target (IABR)
cdt Display cdt C System trace, dump, and error log
cla, class Display wlm class B WLM
clk, cpl Display complex lock B Locks
conv Base conversion B Leaving
cpu Switch to cpu B, MP Changing context
cr, crid Display crid table B Display context information
ct Clear trace point K Debugger trace points
ctx, context Switch to KDB context B, MP Changing context
cupboard Display NFS cupboard B Display NFS information
cw Clear watch K Watch DABR
d, dump Display byte data B Memory register display and decode
dbat Display dbats B Address translation
dbgopt Enable or disable debug options K End user
dc, dis Display code B Memory register display and decode
dcal Calculate or convert a decimal expression B Calculator / converter
dd Display double word data B Memory register display and decode
ddpb Display device byte K Memory register display and decode
ddpd Display device double word K Memory register display and decode
ddph Display device half word K Memory register display and decode
ddpw Display device word K Memory register display and decode
ddvb, diob Display device byte K Memory register display and decode
ddvd, diod Display device double word K Memory register display and decode
ddvh, dioh Display device half word K Memory register display and decode
ddvw, diow Display device word K Memory register display and decode
debug Enable or disable debug B End user
devsw, dev Display devsw table B Display miscellaneous kernel data structures
devnode, devno Display devnode B Display general file system and Journal File System information
di, decode Decode the given instruction B Memory register display and decode
dla Checks the system for deadlocks and displays details on threads waiting on locks B, 64 Locks
dlk Display dist lock B, 64 Locks
dnlc, ncache Display name cache B Display general file system and Journal File System information
dp Display byte data B Memory register display and decode
dpc Display code B PCI cfg space and I/O debugging
dpcib Display PCI configuration space in bytes K PCI cfg space and I/O debugging
dpcih Display PCI configuration space in half words K PCI cfg space and I/O debugging
dpciw Display PCI configuration space in words K PCI cfg space and I/O debugging
dpd Display double word data B Memory register display and decode
dpw Display word data B Memory register display and decode
dr Display registers B Memory register display and decode
drlist Display DRlist B Display VMM information
drvars, drv Display DRvars B, MP Display miscellaneous kernel data structures
dtree, dt Display Enhanced Journaled File System dtree B Display Enhanced Journaled File System-specific file system information
dw Display word data B Memory register display and decode
e, q, g Exit B Leaving
errpt Display error log entries B System trace, dump, and error log
exp List export tables B Loader
ext Extract pattern B Memory search and extract
extp Extract pattern B Memory search and extract
f, stack, where Stack frame trace B Common basic display
fbuffer, fb Display freelist B Display general file system and Journal File System information
fifono, fifonode Display fifonode B Display general file system and Journal File System information
file Display file B Display general file system and Journal File System information
find Find symbolic pattern B Memory search and extract
findp Find physical address pattern B Memory search and extract
frameset, frs Display frame sets B Display VMM information
free Count and display free frames B Display VMM information
freelist Display free list B Display VMM information
gfs Display gfs B Display general file system and Journal File System information
gnode, gno Display gnode B Display general file system and Journal File System information
gt Go until address K Breakpoints and steps
h, ?, help Help B End user
halt Halt the machine K Leaving
hbuffer, hb Display buffer hash B Display general file system and Journal File System information
hcal, cal Calculate or convert a hexadecimal expression B Calculator / converter
hdnlc, hncache Display hash and ncache B Display general file system and Journal File System information
heap, hp Display kernel heap B Display memory allocator information
hinode, hino Display inodehash B Display general file system and Journal File System information
his, hi, hist Print history B End user
hnode, hno Display hnodehash B Display general file system and Journal File System information
hvnc, hvcache Display hash, vcache B Display general file system and Journal File System information
ibat Display ibats B Address translation
icache, fino Display icache list B Display general file system and Journal File System information
ifnet Display interface B Network
inode, ino Display inode B Display general file system and Journal File System information
inode2, i2 Display Enhanced Journaled File System inode B Display Enhanced Journaled File System-specific file system information
intr Display int handler B Display miscellaneous kernel data structures
ipc Display IPC information B Display VMM information
ipl Display IPL process information B Display miscellaneous kernel data structures
j2, jfs2 Display Enhanced Journaled File System buffer data B Display Enhanced Journaled File System-specific file system information
j2logbuf Display JFS2 log buffer structure B Display Enhanced Journaled File System-specific file system information
j2logx Display Enhanced Journaled File System logx structure B Display Enhanced Journaled File System-specific file system information
j2log Display Enhanced Journaled File System log structure B Display Enhanced Journaled File System-specific file system information
j2no, jfs2node Display jfs2node B Display Enhanced Journaled File System-specific file system information
j2trace, j2trc, j2t Display Enhanced Journaled File System trace table B Display Enhanced Journaled File System-specific file system information
kmbucket, bucket Display kmembuckets B Display memory allocator information
kmstats Display kmemstats B Display memory allocator information
ksp Display KSP region information B Display VMM information
kvn, kvnode Display kdm vnode B Display general file system and Journal File System information
lastbackt Display lastbackt B Display context information
lb, lbrk Sets or lists local breakpoints K Breakpoints and steps
lbtac Display local branch target K Branch target (IABR)
lc, lcl Clear local breakpoints K Breakpoints and steps
lcbtac Clear local branch target K Branch target (IABR)
lcw Clear local watch K Watch DABR
lk Display lock_t lock B Locks
lke List loaded extensions B Loader
lle List loader entries B Loader
lka, lockanch tblk Display VMM lock anchor or tblock B Display VMM information
lkh, lockhash Display VMM lock hash B Display VMM information
lkw, lockword Display VMM lock word B Display VMM information
lq, lockq Display lock queues B Display context information
lvol Display logical volume B Display storage subsystem information
lwr Local stop on read data K Watch DABR
lwrw Local stop on read/write data K Watch DABR
lww Local stop on write data K Watch DABR
m Modify sequential bytes K Memory modification
mbuf Display mbuf B Network
md Modify sequential double word K Memory modification
mdbat Modify dbats B Address translation
mdpb Modify device byte K Memory modification
mdpd Modify device double word K Memory modification
mdph Modify device half K Memory modification
mdpw Modify device word K Memory modification
mdvb, miob Modify device byte K Memory modification
mdvd, miod Modify device double word K Memory modification
mdvh, mioh Modify device half K Memory modification
mdvw, miow Modify device word K Memory modification
mempool, memp Display memory pools B Display VMM information
mibat Modify ibats B Address translation
mp Modify sequential bytes K Memory modification
mpcib Modify PCI configuration space in bytes K PCI cfg space and I/O debugging
mpcih Modify PCI configuration space in half words K PCI cfg space and I/O debugging
mpciw Modify PCI configuration space in words K PCI cfg space and I/O debugging
mpd Modify sequential double word K Memory modification
mpw Modify sequential word K Memory modification
mr Modify registers B Memory modification
mslb Modify SLB entry B Address translation
mst Display MST area B Display context information
mw Modify sequential word K Memory modification
n, nexti Next instruction K Breakpoints and steps
ndd Display network and device driver statistics B Network
netm Display the net_malloc event records B Network
netstat Display network status C Network
nm Translate symbol to an effective address B Namelists and symbols
ns No symbol mode (toggle) B Namelists and symbols
pbuf Display physical buf B Display storage subsystem information
pdt Display VMM paging device table B Display VMM information
pfhdata Display VMM control variables B Display VMM information
pft Display VMM PFT entries B Display VMM information
pgbuf Display Enhanced Journaled File System pager buffer B Display Enhanced Journaled File System-specific file system information
pgobj Display Enhanced Journaled File System pagerObject B Display Enhanced Journaled File System-specific file system information
pile Display pile B Display Enhanced Journaled File System-specific file system information
pnda Display PNDA area B Display context information
ppda Display per processor data area B Display context information
pr, print Print a formatted structure at an address B Common basic display
pta VMM PTA segment B Display VMM information
pte VMM PTE entries B Display VMM information
pvlist, pvt Display VMM PVT and PVLIST entries B Display VMM information
pvol Display physical volume B Display storage subsystem information
r, return Go to end of function K Breakpoints and steps
reboot Reboot the machine K Leaving
rmap Display VMM RMAP B Display VMM information
rmst Remove symbol table B Loader
route Display route B Network
rq, runq Display run queues B Display context information
rqi, rqa Display RQ information B Display context information
rtentry Display rtentry structure B Network
rtipc Display RT IPC information B Display VMM information
rtipcd Display RT IPCD information B Display VMM information
rules, rule Display wlm rules B WLM
rvsid Display reserved vsid information B, 64 Display VMM information
rxnode Display radix_node structure B Network
s, stepi Single step K Breakpoints and steps
S Step on block or blockr K Breakpoints and steps
scb Display VMM segment control blocks B Display VMM information
scd, scdisk Display scdisk B Display storage subsystem information
segst64 Display VMM SEGSTATE B Display VMM information
set, setup Display or update kdb toggles B End user
slab Display slab B Display Enhanced Journaled File System-specific file system information
slb Display SLB entry B Address translation
slk, spl Display simple lock B Locks
sock Display socket B Network
sockcup Display NFS sockcup B Display NFS information
sockinfo, si Display socket info by address B Network
sockpint Display NFS sockcup B Display NFS information
specnode, specno Display specnode B Display general file system and Journal File System information
sr64 Display VMM segment region B, MP Display VMM information
start Start cpu K, MP CPU start and stop
stat System status messages B Common basic display
status Processor status B Common basic display
st Store one address word in memory K Memory modification
stbl List loaded symbol tables B Address translation
stc Store one address byte in memory K Memory modification
ste Display VMM STAB B Display VMM information
sth Store one half-word in memory address half-word K Memory modification
stop Stop cpu KMP CPU start and stop
svcxprt Display NFS SVCXPRT B Display NFS information
svmon Display information about the memory and paging space usage on a per process basis C Display context information
swhat Display VMM SWHAT entries B Display VMM information
sw, switch Switch to thread B Changing context
symptom Display symptom string for a dump C Common basic display
tcb Display TCBs B Network
tcpcb Display TCP CB B Network
test, [ Displays bt condition K Debugger trace points
time Display elapsed time K Time
tpid, th_pid Display thread pid B Display context information
tr Translate to real address B Address translation
trace Display trace buffer B System trace, dump, and error log
trb Display system timer request blocks B Time
trcstart Starts the system trace K System trace, dump, and error log
trcstop Stops the system trace K System trace, dump, and error log
tree Display Enhanced Journaled File System tree B Display Enhanced Journaled File System-specific file system information
ts Translate eaddr to symbol B Namelists and symbols
ttid, th_tid Display thread tid B Display context information
tv Display MMU translation B Address translation
txblock, txblk Display Enhanced Journaled File System txBlock B Display Enhanced Journaled File System-specific file system information
txblocki, txblki Display Enhanced Journaled File System index of txBlock B Display Enhanced Journaled File System-specific file system information
txlock, txlck Display Enhanced Journaled File System txLock B Display Enhanced Journaled File System-specific file system information
udb Display UDBs B Network
var Display var B Display miscellaneous kernel data structures
varlist List user variables B End user
varrm, unalias Remove user variable B End user
varset, alias Define a user variable B End user
vfs, mount Display vfs B Display general file system and Journal File System information
vmdmap VMM disk map B Display VMM information
vmlocks VMM spin locks B Display VMM information
vmaddr VMM Addresses B Display VMM information
vmbufst Display dump buffer structures B Display VMM information
vmint Display VMM vmintervls information B Display VMM information
vmker Display VMM kernel segment data B Display VMM information
vmlocks, vmlock, vl Display VMM spin locks B Display VMM information
vmlog Display VMM error log B Display VMM information
vmpool Display VMM resource pools B Display VMM information
vmstat Display VMM statistics B Display VMM information
vmthrpgio Display THRPGIO commands B Display VMM information
vmwait Display VMM wait status B Display VMM information
vnc, vcache Display vnode cache B Display general file system and Journal File System information
vnode, vno Display vnode B Display general file system and Journal File System information
volgrp Display volume group B Display storage subsystem information
vrld Display VMM reload xlate table B Display VMM information
vsidd, sidd Display VSID dump B Display VMM information
vsidm, sidm Display VSID alter B Display VMM information
which Display name of kernel source file C Namelists and symbols
wr Stop on read data K Watch DABR
wrw Stop on r/w data K Watch DABR
ww Stop on write data K Watch DABR
xtree, xt Display Enhanced Journaled File System xtree B Display Enhanced Journaled File System-specific file system information
xmalloc, xm Display heap debug B Display memory allocator information
zproc Display VMM zeroing kproc B Display VMM information

Task category list

The categories in which the subcommands are grouped are as follows:

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]