pagesize(1)

pagesize1

Print system page size

Usage

pagesize

Overview

pagesize prints the size of a page of memory in bytes, as returned by the sysctl(8) variable hw.pagesize. This program is useful in constructing portable shell scripts.

Releases

61 releases since OpenBSD 2.1; the text changed 5 times.

  1. 2.1–2.3
  2. 2.4–2.5
  3. 2.6–3.3
  4. 3.4–3.7
  5. 3.8–4.1
  6. 4.2–8.0

History

The pagesize command appeared in 4.2BSD.

From man 8.0-current-20261101 in OpenBSD 8.0-current (2026-11-01). Parsed by carta from the page's mdoc source.