Re: Utilities for listing/removing POSIX IPC objects
From: Michael Kerrisk (michael.kerrisk.at.gmx.net_at_nospam.com)
Date: 11/10/05
- Next message: Peter T. Breuer: "Re: version magic in kernel module and gcc 4"
- Previous message: Carsten Sponsel: "Re: version magic in kernel module and gcc 4"
- In reply to: marcelpaulo: "Utilities for listing/removing POSIX IPC objects"
- Next in thread: marcelpaulo: "Re: Utilities for listing/removing POSIX IPC objects"
- Reply: marcelpaulo: "Re: Utilities for listing/removing POSIX IPC objects"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 10 Nov 2005 09:15:13 +0100
On 9 Nov 2005 16:23:24 -0800, in comp.os.linux.development.system you
wrote:
>Hi,
>
>I hope this is the appropriate group to post this question. If I'm
>wrong, please accept my apologies and correct me.
>
>Are there standard utilities for listing/removing POSIX IPC objects,
>equivalent to ipcs/ipcrm for SysV IPC ?
Gidday Paulo,
No, unfortunately, there are not. On many Unix implementations
(including Linux), POSIX IPC objects are implemented in some sort of
virtual file system, and you can thus just use ls(1) and rm(1).
However, the precise location of these virtual file systems varies
across implementations. (SUSv3 does not help here: it doesn't specify
how to list/remove POSIX IPC objects from the command line, not
specify where they should be located.)
Cheers,
Michael
PS On Linux, POSIX shared memory and semaphore objects are typically
under /dev/shm. For message queues you need to mount the file system
using something like:
$ mkdir /dev/mqueue
$ mount -t mqueue none /dev/mqueue
- Next message: Peter T. Breuer: "Re: version magic in kernel module and gcc 4"
- Previous message: Carsten Sponsel: "Re: version magic in kernel module and gcc 4"
- In reply to: marcelpaulo: "Utilities for listing/removing POSIX IPC objects"
- Next in thread: marcelpaulo: "Re: Utilities for listing/removing POSIX IPC objects"
- Reply: marcelpaulo: "Re: Utilities for listing/removing POSIX IPC objects"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|