Results 1 to 3 of 3
Hi
How can I check the page size of my main memory ?
I've written the simple program in C, but this solution is not satisfying me.
#include <unistd.h>
int ...
- 09-01-2006 #1Just Joined!
- Join Date
- Aug 2006
- Location
- Poland
- Posts
- 17
Checking the page size ?
Hi
How can I check the page size of my main memory ?
I've written the simple program in C, but this solution is not satisfying me.
#include <unistd.h>
int main(){
int a = getpagesize();
printf ("%d\n",a);
}
How can I check it in a different way(in linux)?
Thanks for help
Rapheal
- 09-02-2006 #2
Maybe you'll find some useful information in /proc/meminfo?
DISTRO=Arch
Registered Linux User #388732
- 01-17-2012 #3Just Joined!
- Join Date
- Jan 2012
- Posts
- 1
try this command -
getconf PAGESIZE



