Virtual Memory Dcmds
-
address
::addr2smap
[offset] -
Print the
smap
structure address that corresponds to the given address in the kernel's segmap address space segment. -
as
::as2proc
-
Display the
proc_t
address for the process corresponding to theas_t
address as. -
[ address ]
::memlist
[-aiv
] -
Display the specified
memlist
structure or one of the well-knownmemlist
structures. If nomemlist
address and options are present or if the-i
option is present, thememlist
representing physically installed memory is displayed. If the-a
option is present, thememlist
representing available physical memory is displayed. If the-v
option is present, the memlist representing available virtual memory is displayed. -
::memstat
-
Display a system-wide memory usage summary. The amount and percentage of system memory consumed by different classes of pages (kernel, anonymous memory, executables and libraries, page cache, and free lists) are displayed, along with the total amount of system memory.
-
[ address ]
::page
-
Display the properties of the specified
page_t
. If nopage_t
address is specified, the dcmd displays the properties of all system pages. -
seg
::seg
-
Format and display the specified address space segment (
seg_t
address). -
[ address ]
::swapinfo
-
Display information about all active
swapinfo
structures or about the specified structswapinfo
. The vnode, filename, and statistics for each structure are displayed. -
vnode
::vnode2smap
[offset] -
Print the
smap
structure address that corresponds to the givenvnode_t
address and offset.