Debian Codegraph @

man/pagesize.1

raw
1 .\" Hey, EMACS: -*- nroff -*-
2 .\" First parameter, NAME, should be all caps
3 .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
4 .\" other parameters are allowed: see man(7), man(1)
5 .TH PAGESIZE 1 "October 10, 2008"
6 .\" Please adjust this date whenever revising the manpage.
7 .\"
8 .\" Some roff macros, for reference:
9 .\" .nh disable hyphenation
10 .\" .hy enable hyphenation
11 .\" .ad l left justify
12 .\" .ad b justify to both left and right margins
13 .\" .nf disable filling
14 .\" .fi enable filling
15 .\" .br insert line break
16 .\" .sp <n> insert n+1 empty lines
17 .\" for manpage-specific macros, see man(7)
18 .SH NAME
19 pagesize \- Print supported system page sizes
20 .SH SYNOPSIS
21 .B pagesize [options]
22 .SH DESCRIPTION
23
24 The pagesize utility prints the page sizes of a page of memory in bytes,
25 as returned by getpagesizes(3). This is useful when creating portable shell
26 scripts, configuring huge page pools with hugeadm or launching applications
27 to use huge pages with hugectl.
28
29 If no parameters are specified, \fBpagesize\fP prints the system base page
30 size as returned by \fBgetpagesize()\fP. The following parameters affect
31 what other pagesizes are displayed.
32
33 .TP
34 .B --huge-only, -H
35
36 Display all huge pages supported by the system as returned by
37 \fBgethugepagesizes()\fP.
38
39 .TP
40 .B --all, -a
41
42 Display all page sizes supported by the system.
43
44 .SH SEE ALSO
45 .I oprofile(1),
46 .I getpagesize(2),
47 .I getpagesizes(3),
48 .I gethugepagesizes(3),
49 .I hugectl(7),
50 .I hugeadm(7),
51 .I libhugetlbfs(7)
52
53 .br
54 .SH AUTHORS
55 libhugetlbfs was written by various people on the libhugetlbfs-devel
56 mailing list.
57