The !sysptes extension displays a formatted view of the system page table entries (PTEs).
Specifies the level of detail to display. Flags can be any combination of the following bits. The default is zero:
Bit 0 (0x1)
Displays information about free PTEs.
Bit 1 (0x2)
(Windows 2000 only) Displays unused pages in the page usage statistics.
(Windows XP and later) Displays information about free PTEs in the global special pool.
Bit 2 (0x4)
Displays detailed information about any system PTEs that are allocated to mapping locked pages.
Bit 3 (0x8)
(Windows 2000 and Windows XP only) Displays nonpaged pool expansion free PTE information. If this bit is set, the other lists are not displayed. If both 0x1 and 0x8 are set, all nonpaged pool expansion free PTEs are displayed. If only 0x8 is set, only the total is displayed.
Bit 4 (0x10)
(Windows Vista and later) Displays special pool free PTE information for the session.
Windows XP and later
For information about page tables and PTEs, see Microsoft Windows Internals, by Mark Russinovich and David Solomon. (This book may not be available in some languages and countries.)
To examine a specific PTE, use the !pte extension.
Here is an example from a Windows 2000 system:
kd> !sysptes 1 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. ......
In Windows XP and later versions of Windows, the display is similar, except that the page count statistics at the end are not included. Here is an example from a Windows XP system:
kd> !sysptes 1 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