Index[SYMBOL] [A] [B] [C] [D] [E] [F] [G] [I] [J] [K] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] [Z] mdb architecture building blocks commands dcmds ::avl ::cont ::continue ::cpuinfo ::cpuinfo -v ::dcmds 2nd ::delete n ::difinstr ::difo ::dis 2nd 3rd ::dmods 2nd ::dmods -l 2nd ::dmods -l mdb ::dof_actdesc ::dof_ecbdesc ::dof_hdr ::dof_probedesc ::dof_relodesc ::dof_relohdr ::dof_sec ::dofdump ::dtrace ::dtrace_aggstat ::dtrace_dynstat ::dtrace_errhash ::dtrace_helptrace ::dtrace_state ::enum enumname ::eval ::events 2nd ::findleaks ::findstack 2nd 3rd ::formats 2nd ::getenv ::getenv var ::id2probe ::kgrep ::kill ::list ::load ::load memory ::log ::mappings ::memstat 2nd 3rd 4th 5th 6th 7th ::memstat. ::msgbuf 2nd ::netstat ::next ::nm 2nd ::nmadd ::nmdel ::offsetof type field ::panicinfo ::pgrep 2nd 3rd ::print 2nd 3rd 4th 5th 6th ::proc ::ps 2nd 3rd 4th 5th 6th ::ps -f ::ps -t ::ptree ::quit ::regs 2nd 3rd 4th ::run arglist ::setenv var=string ::showrev ::sizeof inode_t ::sizeof type ::stack 2nd 3rd ::stack $C ::stackregs ::status 2nd 3rd 4th 5th ::step 2nd 3rd ::step ] ::step out ::step over ::switch ::thread ::threadlist ::threadlist -v ::typegraph ::typeset ::vars ::vatopfn ::walk 2nd ::walk proc ::walkers ::whatis ::wp b 2nd bp c 2nd 3rd 4th 5th e r s SIG u SIG z 2nd 3rd debugger concepts debugging extracting user-mode stack frame pointers features history introduction introduction to the modular debugger kmdb. [See kmdb.] listing all kernel threads macros mdb modularity. modules obtaining a stack trace of the running thread overview reference reference for dtrace targets terms variables walkers mdb for debugging kernels booting with the kernel debugger collecting information about panics constructing the process stack diagnosing with kmdb and moddebug disassembling the suspect code displaying general-purpose registers enabling process pages in a dump examining kernel core summary information examining the message buffer examining the process memory examining user process stacks within a kernel image forcing a crash dump with halt -d investigating kernel hangs invoking mdb to examine the kernel image kernel built-in mdb dcmds listing network connections listing processes and stacks locating and attaching the target locating the target process looking at the status of the cpus navigating kernel stack backtraces notable kernel dcmds processes in kernel images switching mdb to debug a specific process working with debugging targets working with kernel cores mdb tutorial arithmetic expressions binary operators command syntax commands ctf-related ctf-related dcmds dcmds general dcmds debugging target dcmds disassembling the target displaying registers displaying stacks expressions 2nd formats for reading formats for searching formatting characters formatting metacharacters gdb-to-mdb migration general mdb command syntax invoking mdb kernel cpu-related kmem-related commands logging output to a file macros memory-related commands obtaining symbolic type information pipelines piping to unix commands proc-related commands read formats resolving symbol names search formats symbols 2nd synchronization-related commands target-related dcmds thread-related commands unary operators variables 2nd 3rd walkers walkers, variables, and expressions combined working with debugging targets write formats writing memory anonymous memory paging "bad" paging calculating process memory usage with ps and pmap cow_fault 2nd displaying page size information with pmap DTrace probes dtrace vm provider probes and descriptions file i/o paging "good" paging free memory global memory summary kernel memory kernel memory with kstat kstats 2nd 3rd life cycle of physical memory malloc() memtool prtswap observing mmu performance impact with trapstat obtaining memory kstats page scanner rate page-in per-zone paging statistics physical memory allocation physical memory size via prtconf process virtual and resident set size relieving memory pressure 2nd scan rate as a memory health indicator slowscan statistics anonfree 2nd anoninfo anonpgin 2nd anonpgout 2nd apf api 2nd apo 2nd availrmem 2nd execfree 2nd execname execpgin 2nd execpgout 2nd Free (cachelist) Free (freelist) freemem 2nd fsfree 2nd fspgin 2nd fspgout 2nd maj_fault nscan pagesfree pageslocked pagestotal pp_kernel statistics from the vmstat command system memory allocation kstats system paging kstats tools kstat memstat pmap truss vmstat tools for memory analysis 2nd total physical memory types of paging using dtrace using dtrace for memory analysis using pmap to inspect process memory usage using prstat to estimate memory slowdowns using the memstat command in mdb using the perl kstat api to look at memory statistics virtual memory DTrace provider probes vm lifecycle DTrace probes mib-ii statistics microstate accounting mmap flags MAP_NORESERVE. MAP_PRIVATE MAP_SHARED. moddebug monitor-contended-enter monitor-contended-entered monitor-contended-exit monitor-notify monitor-wait monitor-waited mpstat usr, sys, idl times |