Changeset View
Changeset View
Standalone View
Standalone View
head/usr.bin/posixshmcontrol/posixshmcontrol.1
Show All 21 Lines | |||||
.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd May 30, 2019 | .Dd March 18, 2020 | ||||
.Dt POSIXSHMCONTROL 1 | .Dt POSIXSHMCONTROL 1 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm posixshmcontrol | .Nm posixshmcontrol | ||||
.Nd Control POSIX shared memory segments | .Nd Control POSIX shared memory segments | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Ar create | .Ar create | ||||
▲ Show 20 Lines • Show All 55 Lines • ▼ Show 20 Lines | |||||
.Xr stat 1 | .Xr stat 1 | ||||
utility. | utility. | ||||
.It Ic truncate | .It Ic truncate | ||||
Change the length of the segments. | Change the length of the segments. | ||||
Argument to the | Argument to the | ||||
.Fl s | .Fl s | ||||
option specifies new length. | option specifies new length. | ||||
The human-friendly 'k', 'm', 'g' suffixes can be used, see | The human-friendly 'k', 'm', 'g' suffixes can be used, see | ||||
.Xr expand_number 3. | .Xr expand_number 3 . | ||||
If the option is not specified, assumed length is zero. | If the option is not specified, assumed length is zero. | ||||
.El | .El | ||||
.Pp | .Pp | ||||
For some commands, the following options may be provided: | For some commands, the following options may be provided: | ||||
.Bl -tag -width XXX | .Bl -tag -width XXX | ||||
.It Fl h | .It Fl h | ||||
If specified, requests human-readable display of size, see | If specified, requests human-readable display of size, see | ||||
.Xr humanize_number 3 . | .Xr humanize_number 3 . | ||||
Show All 27 Lines | |||||
.Xr stat 2 , | .Xr stat 2 , | ||||
.Xr expand_number 3 , | .Xr expand_number 3 , | ||||
.Xr humanize_number 3 , | .Xr humanize_number 3 , | ||||
.Xr sysctl 3 | .Xr sysctl 3 | ||||
.Sh HISTORY | .Sh HISTORY | ||||
The | The | ||||
.Nm | .Nm | ||||
command appeared in | command appeared in | ||||
.Fx 13.0 . | .Fx 12.1 . | ||||
.Sh AUTHORS | .Sh AUTHORS | ||||
The | The | ||||
.Nm | .Nm | ||||
command and this manual page were written by | command and this manual page were written by | ||||
.An Konstantin Belousov Aq Mt kib@freebsd.org | .An Konstantin Belousov Aq Mt kib@freebsd.org | ||||
under sponsorship from The FreeBSD Foundation. | under sponsorship from The | ||||
.Fx | |||||
Foundation. |