!sysptes

The !sysptes extension displays a formatted view of the system page table entries (PTEs).

!sysptes [Flags]

Parameters

Flags
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.

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.

DLL

Kdexts.dll

Additional Information

For information about page tables and PTEs, see Microsoft Windows Internals, by Mark Russinovich and David Solomon.

Remarks

To examine a specific PTE, use the !pte extension.

Here is an example from a Windows 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