summaryrefslogtreecommitdiff
path: root/memeat.1
blob: acdf7cd5ddf1c9c8f5339b9be3246dd6cf01e6f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
.TH memeat 1 "2021-10-08"
.SH NAME
memeat \- allocates memory until killed
.SH SYNOPSIS
.SY memeat
.RI [ maximum ]
.YS
.SH DESCRIPTION
This program will allocate all available memory mebibyte by mebibyte over some time. If optional
.I maximum
is provided, then program will terminate after reaching this amount of allocated memory in mebibytes. In case this
value is invalid or does not make sense, then program will not attempt to consume the memory, and will indicate a
failure in the exit status.
.SH EXIT STATUS
Program is expected to be terminated externally, so exit status may depend on the execution environment. If
.I maximum
is specified, then 0 will be returned after reaching the boundary, or 1 will be returned if the provided argument
could not be understood.
.SH SEE ALSO
.BR free (3)