Re: [RFC] ipcs for POSIX IPC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Apr 24, 2024 at 04:10:48AM +0530, Prasanna Paithankar wrote:
> The 'ipcs' (and 'ipcrm') command provides information on (or removes
> some) System V IPC resources. I'd like to know why no similar utility
> for POSIX IPC has existed for a long time. I would like to know if
> such a tool exists in case I missed it. If not, I will provide patches
> to ipcs and ipcrm (or should I separate the functionality into a new
> utility).

I would suggest improving 'lsipc' instead of using the old 'ipcs'.

The question is where to find information about POSIX IPC. For System
V, there is /proc/sysvipc, but there is no equivalent for POSIX (or I
am not aware of it). It seems that the only way to gather this
information is by scanning all processes' memory maps for /dev/shm.
This could be achieved by using lsfd.

    Karel

> 
> Yours sincerely
> Prasanna Paithankar
> 

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com





[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux