Changeset View
Changeset View
Standalone View
Standalone View
head/usr.bin/posixshmcontrol/posixshmcontrol.1
Show First 20 Lines • Show All 114 Lines • ▼ Show 20 Lines | |||||
.Sh EXIT STATUS | .Sh EXIT STATUS | ||||
.Ex -std | .Ex -std | ||||
.Sh EXAMPLES | .Sh EXAMPLES | ||||
.Bl -bullet | .Bl -bullet | ||||
.It | .It | ||||
To show content of the shared memory segment with the path | To show content of the shared memory segment with the path | ||||
.Pa /1 , | .Pa /1 , | ||||
use the command | use the command | ||||
.Dl "posixshmcontrol dump /q | hexdump -C" | .Dl "posixshmcontrol dump /1 | hexdump -C" | ||||
.It | .It | ||||
To create a segment with the path | To create a segment with the path | ||||
.Pa /2 | .Pa /2 | ||||
and then enlarge it to 1M, use the sequence of commands | and then enlarge it to 1M, use the sequence of commands | ||||
.Dl "posixshmcontrol create /2" | .Dl "posixshmcontrol create /2" | ||||
.Dl "posixshmcontrol truncate -s 1m /2" | .Dl "posixshmcontrol truncate -s 1m /2" | ||||
.El | .El | ||||
.Sh SEE ALSO | .Sh SEE ALSO | ||||
Show All 23 Lines |