---
name: "pagesize"
section: "1"
platform: "openbsd"
package: "man"
version: "8.0-current-20261101"
release: "OpenBSD 8.0-current (2026-11-01)"
platforms: ["linux", "freebsd", "openbsd", "macos"]
url: "https://new.carta.tech/pagesize"
---

# pagesize(1)

print system page size

## NAME

**pagesize** – print system page size

## SYNOPSIS

**pagesize**

## DESCRIPTION

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

## SEE ALSO

[sysctl(8)](/sysctl/8.md)

## HISTORY

The **pagesize** command appeared in 4.2BSD.
