Debugging Tools for Windows |
!sysptes扩展显示系统页表项(PTE)格式化后的信息。
Windows 2000 | Kdextx86.dll |
Windows XP和之后 | Kdexts.dll |
要查看指定的PTE,使用!pte扩展。
下面是Windows 2000系统的示例:
System PTE Information
Total System Ptes 50962
SysPtes list of size 1 has 389 free
SysPtes list of size 2 has 95 free
SysPtes list of size 4 has 55 free
SysPtes list of size 8 has 35 free
SysPtes list of size 16 has 27 free
starting PTE: c03c7000
ending PTE: c03f8c44
loading (99% complete)
free ptes: c03c8d60 number free: 45134.
free blocks: 1 total free: 45134 largest free block: 45134
Page Count
a0 2.
a1 2.
a2 2.
a3 2.
......
在Windows XP和之后版本的Windows中,除了不包含末尾的页面计数统计之外,输出是类似的。下面是Windows XP系统上的示例:
System PTE Information
Total System Ptes 571224
SysPtes list of size 1 has 361 free
SysPtes list of size 2 has 91 free
SysPtes list of size 4 has 48 free
SysPtes list of size 8 has 36 free
SysPtes list of size 9 has 29 free
SysPtes list of size 23 has 29 free
starting PTE: fffffe0059388000
ending PTE: fffffe00597e3ab8
free ptes: fffffe0059388000 number free: 551557.
free ptes: fffffe00597be558 number free: 104.
free ptes: fffffe00597d2828 number free: 676.
free blocks: 3 total free: 552337 largest free block: 551557
关于页表和PTE的信息,查看Mark Russinovich 和David Solomon 编写的Microsoft Windows Internals。