IPCS(8) Linux Programmer's Manual IPCS(8)NAME
ipcs - provide information on ipc facilities
ipcs [ -asmq ] [ -tclup ]
ipcs [ -smq ] -i id
ipcs provides information on the ipc facilities for which the calling process has read acccess.
The -i option allows a specific resource id to be specified. Only information on this id will be printed.
Resources may be specified as follows:
-m shared memory segments
-q message queues
-s semaphore arrays
-a all (this is the default)
The output format may be specified as follows:
SEE ALSO ipcrm(8)AUTHOR
krishna balasubramanian (firstname.lastname@example.org)
Linux 0.99 9 October 1993 IPCS(8)
Check Out this Related Man Page
IPCS(1) User Commands IPCS(1)NAME
ipcs - show information on IPC facilities
ipcs 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.
OPTIONS -i, --id id
Show full details on just the one resource element identified by id. This option needs to be combined with one of the three
resource options: -m, -q or -s.
Display help text and exit.
Display version information and exit.
Write information about active shared memory segments.
Write information about active message queues.
Write information about active semaphore sets.
Write information about all three resources (default).
Of these options only one takes effect: the last one specified.
Show creator and owner.
Show resource limits.
Show PIDs of creator and last operator.
Write time information. The time of the last control operation that changed the access permissions for all facilities, the time of
the last msgsnd(2) and msgrcv(2) operations on message queues, the time of the last shmat(2) and shmdt(2) operations on shared mem-
ory, and the time of the last semop(2) operation on semaphores.
Show status summary.
These affect only the -l (--limits) option.
Print sizes in bytes.
Print sizes in human-readable format.
SEE ALSO ipcmk(1), ipcrm(1), msgrcv(2), msgsnd(2), semget(2), semop(2), shmat(2), shmdt(2), shmget(2)CONFORMING TO
The Linux ipcs utility is not fully compatible to the POSIX ipcs utility. The Linux version does not support the POSIX -a, -b and -o
options, but does support the -l and -u options not defined by POSIX. A portable application shall not use the -a, -b, -o, -l, and -u
Krishna Balasubramanian <email@example.com>
The ipcs command is part of the util-linux package and is available from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils/util-
util-linux July 2014 IPCS(1)
Hey all. I recently ported a multithreaded program from WinNT to LINUX using pthreads. Everything works fine, except that it turns out the drivers for the hardware I'm working with aren't thread safe. So, now I have to find a way to make this multi-process instead of multi-threaded.
I just... (1 Reply)
I am using SUN 0S 5.7.
My application has a dozen programs running in this machine, each instance of a program having 2 POSIX message queues for itself. Totally around 90 POSIX message queues.
Another small application uses a SYSTEM V shared memory and a message queue.
We face a problem... (1 Reply)
With reference to the thread below:
I have the same program on Cygwin ( unfortuantely win ;( )
My program runs ( offcourse with undesired output)
The semget does not give any error, tho I have trapped in case if there is one.... (0 Replies)
I need help with ipcs command on Solaris. What does it do and what are options b,m,o,q does. Here is the sample output of ipcs -oq and ipcs -bm
IPC status from <running system> as of Sun Sep 7 23:07:59 GMT 2008
T ID KEY MODE OWNER GROUP CBYTES QNUM... (4 Replies)
I am trying to run myApplication which allocates Some amount of shared memory at startup.
It failed because not available shared memory are available.
But when i ran,
it is displaying empty(i.e no shared memory allocated in system.)
Why "ipcs -m" is displaying empty ?
... (5 Replies)
I read the ipcs man page and am still very confused.
Basically, I just want to know whether the output from the ipcs command below means these are the current "TOTAL" memory usage in bytes on the server? Is this correct?
Thanks in advance.
ipcs command output below:
# ipcs... (2 Replies)
We have a working script which identifies and kills ipcs resources which havent been correctly killed during normal shutdowns.
It is working fine and dandy however there are some issues now.
SunOS 5.10 Generic_148888-03 sun4u sparc SUNW,SPARC-Enterprise
... (4 Replies)
The ipcs -q command output includes a MODE column which tells user if the process is waiting on read or write on the queue. I used this in scripts on many systems (Solaris, AIX, SCO)
a snippet from man
The facility access modes and flags: The mode consists of
11... (2 Replies)
we have multiple database instances running on solaris server like db1, db2 and db3. Below shown ipcs -pmb shared memory segment output. Using cpid value I want to relate to the database instances db1, db2 and db3. Please let me know how to do this?
$ ipcs -pmb
IPC status from <running... (9 Replies)