man-pages/man1/ipcs.1.html
2021-03-31 01:06:50 +01:00

196 lines
4.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of IPCS</TITLE>
</HEAD><BODY>
<H1>IPCS</H1>
Section: User Commands (1)<BR>Updated: July 2014<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
ipcs - show information on IPC facilities
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>ipcs</B>
[options]
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
<B>ipcs</B>
shows information on the inter-process communication facilities
for which the calling process has read access.
By default it shows information about all three resources:
shared memory segments, message queues, and semaphore arrays.
<A NAME="lbAE">&nbsp;</A>
<H2>OPTIONS</H2>
<DL COMPACT>
<DT id="1"><B>-i</B>, <B>--id</B> <I>id</I><DD>
Show full details on just the one resource element identified by
<I>id</I>.
This option needs to be combined with one of the three resource options:
<B>-m</B>,
<B>-q</B> or
<B>-s</B>.
<DT id="2"><B>-h</B>, <B>--help</B><DD>
Display help text and exit.
<DT id="3"><B>-V</B>, <B>--version</B><DD>
Display version information and exit.
</DL>
<A NAME="lbAF">&nbsp;</A>
<H3>Resource options</H3>
<DL COMPACT>
<DT id="4"><B>-m</B>, <B>--shmems</B><DD>
Write information about active shared memory segments.
<DT id="5"><B>-q</B>, <B>--queues</B><DD>
Write information about active message queues.
<DT id="6"><B>-s</B>, <B>--semaphores</B><DD>
Write information about active semaphore sets.
<DT id="7"><B>-a</B>, <B>--all</B><DD>
Write information about all three resources (default).
</DL>
<A NAME="lbAG">&nbsp;</A>
<H3>Output formats</H3>
Of these options only one takes effect: the last one specified.
<DL COMPACT>
<DT id="8"><B>-c</B>, <B>--creator</B><DD>
Show creator and owner.
<DT id="9"><B>-l</B>, <B>--limits</B><DD>
Show resource limits.
<DT id="10"><B>-p</B>, <B>--pid</B><DD>
Show PIDs of creator and last operator.
<DT id="11"><B>-t</B>, <B>--time</B><DD>
Write time information. The time of the last control operation that changed
the access permissions for all facilities, the time of the last
<B><A HREF="/cgi-bin/man/man2html?2+msgsnd">msgsnd</A></B>(2)
and
<B><A HREF="/cgi-bin/man/man2html?2+msgrcv">msgrcv</A></B>(2)
operations on message queues, the time of the last
<B><A HREF="/cgi-bin/man/man2html?2+shmat">shmat</A></B>(2)
and
<B><A HREF="/cgi-bin/man/man2html?2+shmdt">shmdt</A></B>(2)
operations on shared memory, and the time of the last
<B><A HREF="/cgi-bin/man/man2html?2+semop">semop</A></B>(2)
operation on semaphores.
<DT id="12"><B>-u</B>, <B>--summary</B><DD>
Show status summary.
</DL>
<A NAME="lbAH">&nbsp;</A>
<H3>Representation</H3>
These affect only the <B>-l</B> (<B>--limits</B>) option.
<DL COMPACT>
<DT id="13"><B>-b</B>, <B>--bytes</B><DD>
Print sizes in bytes.
<DT id="14"><B>--human</B>
<DD>
Print sizes in human-readable format.
</DL>
<A NAME="lbAI">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?1+ipcmk">ipcmk</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?1+ipcrm">ipcrm</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?2+msgrcv">msgrcv</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+msgsnd">msgsnd</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+semget">semget</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+semop">semop</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+shmat">shmat</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+shmdt">shmdt</A></B>(2),
<B><A HREF="/cgi-bin/man/man2html?2+shmget">shmget</A></B>(2)
<A NAME="lbAJ">&nbsp;</A>
<H2>CONFORMING TO</H2>
The Linux ipcs utility is not fully compatible to the POSIX ipcs utility.
The Linux version does not support the POSIX
<B>-a</B>,
<B>-b</B>
and
<B>-o</B>
options, but does support the
<B>-l</B>
and
<B>-u</B>
options not defined by POSIX. A portable application shall not use the
<B>-a</B>,
<B>-b</B>,
<B>-o</B>,
<B>-l</B>,
and
<B>-u</B>
options.
<A NAME="lbAK">&nbsp;</A>
<H2>AUTHOR</H2>
Krishna Balasubramanian
<A NAME="lbAL">&nbsp;</A>
<H2>AVAILABILITY</H2>
The ipcs command is part of the util-linux package and is available from
Linux Kernel Archive
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="15"><A HREF="#lbAB">NAME</A><DD>
<DT id="16"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="17"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="18"><A HREF="#lbAE">OPTIONS</A><DD>
<DL>
<DT id="19"><A HREF="#lbAF">Resource options</A><DD>
<DT id="20"><A HREF="#lbAG">Output formats</A><DD>
<DT id="21"><A HREF="#lbAH">Representation</A><DD>
</DL>
<DT id="22"><A HREF="#lbAI">SEE ALSO</A><DD>
<DT id="23"><A HREF="#lbAJ">CONFORMING TO</A><DD>
<DT id="24"><A HREF="#lbAK">AUTHOR</A><DD>
<DT id="25"><A HREF="#lbAL">AVAILABILITY</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:17 GMT, March 31, 2021
</BODY>
</HTML>