How to get the kernel memory range on OpenSolaris
来源:互联网 发布:逸仙网络大讲堂 编辑:程序博客网 时间:2024/06/10 20:17
# echo "p0::pmap" | mdb -k
or
# echo "kas::walk seg | ::seg" | mdb -k
will give you base virtual address and virtual sizes for the kernel's
memory segments.
Walking the list of kernel pages to get physical page numbers:
# echo "kvp::walk page | ::print page_t p_pagenum" | mdb -k
should work (but may not be complete). In general, if you have a kernel
virtual address,
# echo "virtual_address::vtop" | mdb -k
will give you the physical address.
or
# echo "kas::walk seg | ::seg" | mdb -k
will give you base virtual address and virtual sizes for the kernel's
memory segments.
Walking the list of kernel pages to get physical page numbers:
# echo "kvp::walk page | ::print page_t p_pagenum" | mdb -k
should work (but may not be complete). In general, if you have a kernel
virtual address,
# echo "virtual_address::vtop" | mdb -k
will give you the physical address.
- How to get the kernel memory range on OpenSolaris
- How to BFU the OpenSolaris SXCE system
- [转贴]How to get the largest available continues memory block
- [转贴]How to get the largest available continues memory block
- How to access PCI configure space on OpenSolaris
- How to dump an ACPI table on Linux/OpenSolaris
- How The Kernel Manages Your Memory
- How The Kernel Manages Your Memory
- How The Kernel Manages Your Memory
- How to get kernel messages from Android?
- How to Get the WDK
- virtual memory layout and how to get it by the correspoinding functuon
- How to programmatically clear the filesystem memory cache in C++ on a Linux system?
- OpenSolaris is on the way
- How to Compile the Linux Kernel
- How to download the android kernel
- How to patch the linux kernel patch
- kernel: How to decompress the zImage?
- .NET开源图表组件
- 为什么老报classnotfoundexception呢?
- 深入浅出C#2008从入门到提高Step By Step(七)数据访问(4)-DataRow
- php include和require的区别
- 最近有点闲
- How to get the kernel memory range on OpenSolaris
- 去空格和Select的左右选择
- 关于技术更新随笔,给初学编程的一点经验
- 用DirectSound在窗口中播放声音,可当窗口失去焦点后却不播放的解决办法
- Javascript 操作select控件大全(新增、修改、删除、选中、清空、判断存在等)
- Birt 创建交叉报表
- 如何成为一个优秀的软件架构师[转]
- 二进制的运算方法
- 李开复:谷歌已开始做Web3.0概念