How to Check the Page Size of Your Machine
Determining the Page Size
Most operating systems allow programs to determine what the page size is so that they can allocate memory more efficiently.
UNIX and POSIX-based Operating Systems
UNIX and POSIX-based systems use the C function sysconf().
Edit a test.c file and paste it:
Then compile it with gcc:
Now launch it:
Win32-based Operating Systems (Windows 9x, NT, ReactOS)
Win32-based operating system use the C function GetSystemInfo() function in kernel32.dll