Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $< - replace input with macro
- $<< - source macro
- $? - print status and registers
- $C - print stack backtrace
- $M - list macro aliases
- $P - set debugger prompt string
- $Q - quit debugger
- $V - get/set disassembly mode
- $W - re-open target in write mode
- $b - list traced software events
- $c - print stack backtrace
- $d - get/set default output radix
- $e - print listing of global symbols
- $f - print listing of source files
- $m - print address space mappings
- $q - quit debugger
- $r - print general-purpose registers
- $s - get/set symbol matching distance
- $v - print non-zero variables
- $w - get/set output page width
- / - format data from virtual as
- :a - set read access watchpoint
- :b - breakpoint at the specified address
- :c - continue target execution
- :e - step target over next instruction
- :p - set execute access watchpoint
- :s - single-step target to next instruction
- :u - step target out of current function
- :w - set write access watchpoint
- :x - change the active CPU
- :z - delete all traced software events
- = - format immediate value
- > - assign variable
- ? - format data from virtual as
- @ - format data from physical as
- \ - format data from physical as
- addr2smap - translate address to smap
- allocdby - given a thread, print its allocated buffers
- array - print each array element's address
- as2proc - convert as to proc_t address
- binding_hash_entry - print driver names hash table entry
- bitset - display a bitset
- bp - breakpoint at the specified addresses or symbols
- branches - describe the recently-taken branches
- bufctl - print or filter a bufctl
- bufpagefind - find page_t on buf_t list
- call - call a kernel function
- callout - display callouts
- >> More [<space>, <cr>, q, n, c, a] ?
- calloutid - print callout by extended id
- class - print process scheduler classes
- cont - continue target execution
- contract - display a contract
- cpuinfo - print CPUs and runnable threads
- cpupart - print cpu partition info
- cpuregs - print general-purpose registers for a specific CPU
- cpustack - print stack backtrace for a specific CPU
- cred - display a credential
- credgrp - display cred_t groups
- credsid - display a credsid_t
- ctevent - display a contract event
- ctfinfo - list module CTF information
- ctid - convert id to a contract pointer
- cyccover - dump cyclic coverage information
- cycid - dump a cyclic id
- cycinfo - dump cyc_cpu info
- cyclic - developer information
- cyctrace - dump cyclic trace buffer
- damap - display a damap_t
- dcmds - list available debugger commands
- ddi_periodic - dump ddi_periodic_impl_t info
- delete - delete traced software events
- dev2major - convert dev_t to a major number
- >> More [<space>, <cr>, q, n, c, a] ?
- devbindings - print devinfo nodes bound to device-name or major-num
- devinfo - detailed devinfo of one node
- devinfo2driver - find driver name for this devinfo node
- devinfo_audit - devinfo configuration audit record
- devinfo_audit_log - system wide devinfo configuration log
- devinfo_audit_node - devinfo node configuration history
- devinfo_fm - devinfo fault managment configuration
- devinfo_fmce - devinfo fault managment cache entry
- devnames - print devnames array
- devt - display a dev_t's major and minor numbers
- did2thread - find kernel thread for this id
- dis - disassemble near addr
- disasms - list available disassemblers
- dismode - get/set disassembly mode
- dladm - show data link information
- dmods - list loaded debugger modules
- dnlc - print DNLC contents
- dump - dump memory from specified address
- echo - echo arguments
- enum - print an enumeration
- ereport - print ereports logged in dump
- errorq - display kernel error queues
- eval - evaluate the specified command
- >> More [<space>, <cr>, q, n, c, a] ?
- events - list traced software events
- evset - set software event specifier attributes
- fd - get a file pointer from an fd
- files - print listing of source files
- findleaks - search for potential kernel memory leaks
- findstack - find kernel thread stack
- findstack_debug - toggle findstack debugging
- flipone - the vik_rev_level 2 special
- formats - list format specifiers
- freedby - given a thread, print its freed buffers
- fsinfo - print mounted filesystems
- gate_desc - dump a gate descriptor
- grep - print dot if expression is true
- group - display a group
- head - limit number of elements in pipe
- help - list commands/command help
- hotplug - display a registered hotplug attachment
- htables - Given hat_t *, lists all its htable_t * values
- idt - dump an IDT
- in - read from I/O port
- irmpools - display interrupt pools
- irmreq - display an interrupt request
- irmreqs - display interrupt requests in an interrupt pool
- kgrep - search kernel as for a pointer
- >> More [<space>, <cr>, q, n, c, a] ?
- kmalog - display kmem transaction log and stack traces
- kmastat - kernel memory allocator stats
- kmausers - current medium and large users of the kmem allocator
- kmem_cache - print kernel memory caches
- kmem_debug - toggle kmem dcmd/walk debugging
- kmem_log - dump kmem transaction log
- kmem_slabs - display slab usage per kmem cache
- kmem_verify - check integrity of kmem-managed memory
- ksidlist - display a ksidlist_t
- ldi_handle - display a layered driver handle
- ldi_ident - display a layered driver identifier
- lgrp - display an lgrp
- lgrp_set - display bitmask of lgroups as a list
- list - walk list using member as link pointer
- lminfo - print lock manager information
- load - load debugger module
- major2name - convert major number to dev name
- map - print dot after evaluating expression
- mappings - print address space mappings
- mblk - print an mblk
- mblk2dblk - convert mblk_t address to dblk_t address
- mblk_verify - verify integrity of an mblk
- mdiclient_paths - given a path, walk mdi_pathinfo client links
- mdiphci - given a phci, dump mdi_phci and list all paths
- >> More [<space>, <cr>, q, n, c, a] ?
- mdiphci_paths - given a path, walk through mdi_pathinfo phci links
- mdiphcis - given a phci, walk through mdi_phci ph_next links
- mdipi -
- given a path, dump mdi_pathinfo and detailed pi_prop list
- mdiprops - given a pi_prop, dump the pi_prop list
- mdivhci - given a vhci, dump mdi_vhci and list all phcis
- memlist - display a struct memlist
- memseg_list - show memseg list
- memstat - display memory usage summary
- mfntopfn - convert hypervisor machine page to physical page
- mi - filter and display MI object or payload
- minornodes - given a devinfo node, print its minor nodes
- modctl - list modctl structures
- modctl2devinfo - given a modctl, list its devinfos
- modent - display information about a mod_hash_entry
- modhash -
- display information about one or all mod_hash structures
- modhdrs - given modctl, dump module ehdr and shdrs
- modinfo - list module information
- msgbuf - print most recent console messages
- multidata - display a summarized multidata_t
- mutex - dump out an adaptive or spin mutex
- name2major - convert dev name to major number
- ndi_event_hdl - print ndi_event_hdl
- >> More [<space>, <cr>, q, n, c, a] ?
- netstack - show stack instances
- netstackid2netstack - translate a netstack id to its netstack_t
- netstat - show network statistics
- next - step target over next instruction
- nm - print symbols
- nmadd - add name to private symbol table
- nmdel - remove name from private symbol table
- nvlist - print out an nvlist
- nvpair - print out an nvpair
- objects - print load objects information
- offsetof - print the offset of a given struct or union member
- out - write to I/O port
- page - display a summarized page_t
- page_num2pp - find the page_t for a given page frame number
- pagelookup - find the page_t with the name {vp, offset}
- panicinfo - print panic information
- pattbl - display a summarized multidata attribute table
- pattr2multidata - print multidata pointer from pattr_t
- pdesc2slab - print pdesc slab pointer from pdesc_t
- pdesc_verify - verify integrity of a pdesc_t
- pfiles - print process file information
- pfntomfn - convert physical page to hypervisor machine page
- pg - display a pg
- pgrep - pattern match against all processes
- >> More [<space>, <cr>, q, n, c, a] ?
- pid2proc - convert PID to proc_t address
- pmap - print process memory map
- print - print the contents of a data structure
- printf - print and format the member(s) of a data structure
- project - display kernel project(s)
- prtconf - print devinfo tree
- ps - list processes (and associated thr,lwp)
- ptable - Given PFN, dump contents of a page table
- pte - print human readable page table entry
- ptree - print process tree
- q2otherq - print peer queue for a given queue
- q2rdq - print read queue for a given queue
- q2stream - print stream pointer for a given queue
- q2syncq - print syncq for a given queue
- q2wrq - print write queue for a given queue
- queue - filter and display STREAM queue
- quit - quit debugger
- rctl - print a rctl_t, only if it matches the handle
- rctl_dict - print systemwide default rctl definitions
- rctl_list - print rctls for the given proc
- rctl_validate - test resource control value sequence
- rdmsr - read an MSR
- rdpcicfg - read a register in PCI config space
- regs - print general-purpose registers
- >> More [<space>, <cr>, q, n, c, a] ?
- report_maps - Given PFN, report mappings / page table usage
- rwlock - dump out a readers/writer lock
- scalehrtime - scale an unscaled high-res time
- seg - print address space segment
- set - get/set debugger properties
- showrev - print version information
- sizeof - print the size of a type
- slab2multidata - print multidata pointer from pdesc_slab_t
- sobj2ts - perform turnstile lookup on synch object
- softstate - retrieve soft-state pointer
- sonode - filter and display sonode
- stack - print stack backtrace
- stackinfo - display kthread_t stack usage
- stackregs - print stack backtrace and registers
- stacks - print unique kernel thread stacks
- status - print summary of current target
- stdata - filter and display STREAM head
- step - single-step target to next instruction
- str2mate - print mate of this stream
- str2wrq - print write queue of this stream
- stream - display STREAM
- strftevent - print STREAMS flow trace event
- swapinfo - display a struct swapinfo
- switch - change the active CPU
- >> More [<space>, <cr>, q, n, c, a] ?
- syncq - filter and display STREAM sync queue
- syncq2q - print queue for a given syncq
- sysevent - print sysevent pending or sent queue
- sysevent_channel - print sysevent channel database
- sysevent_class_list - print sysevent class list
- sysevent_subclass_list - print sysevent subclass list
- system - print contents of /etc/system file
- task - display kernel task(s)
- taskq - display a taskq
- taskq_entry - display a taskq_ent_t
- term - display current terminal type
- thread - display a summarized kthread_t
- threadlist - display threads and associated C stack traces
- time - display system time
- tsd - print tsd[key-1] for this thread
- tsdtot - find thread with this tsd
- ttrace - dump trap trace buffers
- turnstile - display a turnstile
- typedef - create synthetic types
- typeset - set variable attributes
- unload - unload debugger module
- unset - unset variables
- vars - print listing of variables
- vatopfn - translate address to physical page
- >> More [<space>, <cr>, q, n, c, a] ?
- version - print debugger version string
- vmem - print a vmem_t
- vmem_seg - print or filter a vmem_seg
- vnode2path - vnode address to pathname
- vnode2smap - translate vnode to smap
- vtop - print physical mapping of virtual address
- walk - walk data structure
- walkers - list available walkers
- wchaninfo - dump condition variable
- whatis - given an address, return information
- whatthread - print threads whose stack contains the given address
- whence - show source of walk or dcmd
- whereopen - given a vnode, dumps procs which have it open
- which - show source of walk or dcmd
- wp - set a watchpoint at the specified address
- wrmsr - write an MSR
- wrpcicfg - write a register in PCI config space
- x86_featureset - dump the x86_featureset vector
- xdata - print list of external data buffers
- zdid2zone - find the zone_t with the given zone debug id
- zid2zone - find the zone_t with the given zone id
- zone - display kernel zone(s)
- zsd - display zone-specific-data entries for selected zones
- allfile - given a proc pointer, list all file pointers
- allocdby - given a thread, walk its allocated bufctls
- allpages - walk all pages, including free pages
- anon - given an amp, list allocated anon structures
- anon_all - given an amp, list contents of all anon slots
- avl -
- given any avl_tree_t *, forward walk all entries in tree
- b_cont - walk mblk_t list using b_cont
- b_next - walk mblk_t list using b_next
- binding_hash - walk all entries in binding hash table
- blocked - walk threads blocked on a given sobj
- buf - walk the bio buf hash
- bufctl - walk a kmem cache's bufctls
- bufctl_history - walk the available history of a bufctl
- callout_list - walk a callout list
- callout_table - walk callout table array
- callouts_byid - walk callouts by id hash chain
- callouts_bytime - walk callouts by list chain (expiration time)
- contract - walk all contracts, or those of the specified type
- cpu - walk cpu structures
- cpu_dispq - given a cpu_t, walk threads in dispatcher queues
- cpupart_cpulist - given an cpupart_t, walk cpus in partition
- cpupart_dispq - given a cpupart_t, walk threads in dispatcher queues
- cpupart_walk - walk the set of cpu partitions
- >> More [<space>, <cr>, q, n, c, a] ?
- ct_event - walk events on a contract event queue
- ct_listener - walk contract event queue listeners
- ctxop - walk list of context ops on a thread
- cyccpu - walk per-CPU cyc_cpu structures
- cycomni - for an omnipresent cyclic, walk cyc_omni_cpu list
- cyctrace - walk cyclic trace buffer
- deathrow - walk threads on both lwp_ and thread_deathrow
- devi_next - walk devinfo list
- devinfo - walk devinfo tree or subtree
- devinfo_audit_log - walk devinfo audit system-wide log
- devinfo_audit_node - walk per-devinfo audit history
- devinfo_children - walk children of devinfo node
- devinfo_fmc - walk a fault management handle cache active list
- devinfo_parents - walk ancestors of devinfo node
- devinfo_siblings - walk siblings of devinfo node
- devnames - walk devnames array
- ereportq_dump - walk list of ereports in dump error queue
- ereportq_pend - walk list of ereports in pending error queue
- errorq - walk list of system error queues
- errorq_data - walk pending error queue data buffers
- file - given a proc pointer, list of open file pointers
- freectl - walk a kmem cache's free bufctls
- freectl_constructed - walk a kmem cache's constructed free bufctls
- freedby - given a thread, walk its freed bufctls
- >> More [<space>, <cr>, q, n, c, a] ?
- freemem - walk a kmem cache's free memory
- freemem_constructed - walk a kmem cache's constructed free memory
- group - walk all elements of a group
- icmp - walk ICMP control structures using MI for all stacks
- icmp_stacks - walk all the icmp_stack_t
- irmpools - walk global list of interrupt pools
- irmreqs - walk list of interrupt requests in an interrupt pool
- kmem - walk a kmem cache
- kmem_cache - walk list of kmem caches
- kmem_cpu_cache - given a kmem cache, walk its per-CPU caches
- kmem_hash - given a kmem cache, walk its allocated hash table
- kmem_log - walk the kmem transaction log
- kmem_slab - given a kmem cache, walk its slabs
- kmem_slab_partial -
- given a kmem cache, walk its partially allocated slabs (min 1)
- ldi_handle - walk the layered driver handle hash
- ldi_ident - walk the layered driver identifier hash
- leak -
- given a leaked bufctl or vmem_seg, find leaks w/ same stack trace
- leakbuf -
- given a leaked bufctl or vmem_seg, walk buffers for leaks w/ same stack trace
- lgrp_cpulist - walk CPUs in a given lgroup
- lgrp_parents - walk up lgroup lineage from given lgroup
- lgrp_rsrc_cpu - walk lgroup CPU resources of given lgroup
- >> More [<space>, <cr>, q, n, c, a] ?
- lgrp_rsrc_mem - walk lgroup memory resources of given lgroup
- lgrptbl - walk lgroup table
- list - walk a linked list
- lock_descriptor - walk lock_descriptor_t structures
- lock_graph - walk lock graph
- lwp_deathrow - walk lwp_deathrow
- mdiphci_list - Walker for mdi_phci ph_next link
- mdipi_client_list - Walker for mdi_pathinfo pi_client_link
- mdipi_phci_list - Walker for mdi_pathinfo pi_phci_link
- memlist - walk specified memlist
- memseg - walk the memseg structures
- mi - given a MI_O, walk the MI
- minornode - given a devinfo node, walk minor nodes
- modchain - walk list of entries in a given mod_hash_entry
- modctl - list of modctl structures
- modent - walk list of entries in a given mod_hash
- modhash - walk list of mod_hash structures
- mutex_owner - walks the owner of a mutex
- netstack - walk a list of kernel netstacks
- nvpair - walk through the nvpairs in an unpacked nvlist
- page - walk all pages, or those from the specified vnode
- pattr - walk pattr_t structures
- pdesc - walk pdesc_t structures
- pdesc_slab - walk pdesc_slab_t structures
- >> More [<space>, <cr>, q, n, c, a] ?
- portev - given a port pointer, list of events in the queue
- proc - list of active proc_t structures
- projects - walk a list of kernel projects
- qlink - walk queue_t list using q_link
- qnext - walk queue_t list using q_next
- rctl_dict_list - walk all rctl_dict_entry_t's from rctl_lists
- rctl_set - given a rctl_set, walk all rctls
- rctl_val - given a rctl_t, walk all rctl_val entries associated
- readq - walk read queue side of stdata
- seg - given an as, list of segments
- segvn_anon -
- given a struct segvn_data, list allocated anon structures
- segvn_anon_all -
- given a struct segvn_data, list contents of all anon slots
- segvn_pages -
- given a struct segvn_data, list resident pages in offset order
- segvn_pages_all -
- for each offset in a struct segvn_data, give page_t pointer (if resident), or NU
- LL.
- softstate -
- given an i_ddi_soft_state*, list all in-use driver stateps
- softstate_all - given an i_ddi_soft_state*, list all driver stateps
- sonode - given a sonode, walk its children
- >> More [<space>, <cr>, q, n, c, a] ?
- strftblk - given a dblk_t, walk STREAMS flow trace event list
- swapinfo - walk swapinfo structures
- sysevent_channel - walk sysevent channel subscriptions
- sysevent_class_list - walk sysevent subscription's class list
- sysevent_pend - walk sysevent pending queue
- sysevent_sent - walk sysevent sent queue
- sysevent_subclass_list - walk sysevent subscription's subclass list
- task - given a task pointer, walk its processes
- taskq_entry - given a taskq_t*, list all taskq_ent_t in the list
- taskq_thread - given a taskq_t, list all of its threads
- tcp_stacks - walk all the tcp_stack_t
- thread - global or per-process kthread_t structures
- thread_deathrow - walk threads on thread_deathrow
- tnrh - walk remote host cache structures
- tnrhtp - walk remote host template structures
- tsd - walk list of thread-specific data
- ttrace -
- walks trap trace buffers in reverse chronological order
- udp_stacks - walk all the udp_stack_t
- vfs - walk file system list
- vmem - walk vmem structures in pre-fix, depth-first order
- vmem_alloc - given a vmem_t, walk its allocated vmem_segs
- vmem_free - given a vmem_t, walk its free vmem_segs
- vmem_postfix - walk vmem structures in post-fix, depth-first order
- >> More [<space>, <cr>, q, n, c, a] ?
- sysevent_subclass_list - walk sysevent subscription's subclass list
- task - given a task pointer, walk its processes
- taskq_entry - given a taskq_t*, list all taskq_ent_t in the list
- taskq_thread - given a taskq_t, list all of its threads
- tcp_stacks - walk all the tcp_stack_t
- thread - global or per-process kthread_t structures
- thread_deathrow - walk threads on thread_deathrow
- tnrh - walk remote host cache structures
- tnrhtp - walk remote host template structures
- tsd - walk list of thread-specific data
- ttrace -
- walks trap trace buffers in reverse chronological order
- udp_stacks - walk all the udp_stack_t
- vfs - walk file system list
- vmem - walk vmem structures in pre-fix, depth-first order
- vmem_alloc - given a vmem_t, walk its allocated vmem_segs
- vmem_free - given a vmem_t, walk its free vmem_segs
- vmem_postfix - walk vmem structures in post-fix, depth-first order
- vmem_seg - given a vmem_t, walk all of its vmem_segs
- vmem_span - given a vmem_t, walk its spanning vmem_segs
- wchan - given a wchan, list of blocked threads
- writeq - walk write queue side of stdata
- zone - walk a list of kernel zones
- zsd - walk list of zsd entries for a zone
- [0]>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement