pagesize(1)

pagesize1

Print supported system page sizes

Usage

pagesize [options]

Overview

The pagesize utility prints the page sizes of a page of memory in bytes, as returned by getpagesizes(3). This is useful when creating portable shell scripts, configuring huge page pools with hugeadm or launching applications to use huge pages with hugectl.

If no parameters are specified, pagesize prints the system base page size as returned by getpagesize(). The following parameters affect what other pagesizes are displayed.

--huge-only, -H

Display all huge pages supported by the system as returned by gethugepagesizes().

--all, -a

Display all page sizes supported by the system.

Releases

Unchanged in 4 releases since Debian 10 (Buster).

  1. 10–13

Authors

libhugetlbfs was written by various people on the libhugetlbfs-devel mailing list.

From libhugetlbfs-bin 2.24-1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.