[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Determining Page Size on AMD64 Etch



On 12/29/06, Matt Miller <debian@mattmillersf.fastmail.fm> wrote:
> > see what my page size is?
>
> man 2 getpagesize

Thanks, that helped.  I wrote the following C program which apparently tells me
that my pagesize is 4K:

#include <unistd.h>
#include <stdio.h>

int main ()
{
  printf ("%d\n", getpagesize ());
  return 0;
}

Maybe I'm missing something, but why not just look at /proc/swaps?



Reply to: