1PAGESIZE(1) General Commands Manual PAGESIZE(1)
2
3
4
6 pagesize - Print supported system page sizes
7
9 pagesize [options]
10
12 The pagesize utility prints the page sizes of a page of memory in
13 bytes, as returned by getpagesizes(3). This is useful when creating
14 portable shell scripts, configuring huge page pools with hugeadm or
15 launching applications to use huge pages with hugectl.
16
17 If no parameters are specified, pagesize prints the system base page
18 size as returned by getpagesize(). The following parameters affect what
19 other pagesizes are displayed.
20
21
22 --huge-only, -H
23
24 Display all huge pages supported by the system as returned by
25 gethugepagesizes().
26
27
28 --all, -a
29
30 Display all page sizes supported by the system.
31
32
34 oprofile(1), getpagesize(2), getpagesizes(3), gethugepagesizes(3),
35 hugectl(7), hugeadm(7), libhugetlbfs(7)
36
37
39 libhugetlbfs was written by various people on the libhugetlbfs-devel
40 mailing list.
41
42
43
44
45 October 10, 2008 PAGESIZE(1)