Re: [PATCH] /proc/sysvipc

Dragos Acostachioaie (dragos@iname.com)
Sat, 25 Jul 1998 16:13:34 +0300 (EEST)


On Fri, 24 Jul 1998, Riccardo Facchetti wrote:

> On Fri, 24 Jul 1998, Dragos Acostachioaie wrote:
>
> > The patch provides /proc/sysvipc, which reports informations about IPC
> > resources: shared memory segments, message queues and semaphore arrays.
>
> man shmctl(2), semctl(2) and msgctl(2) and read about the values for cmd
> parameter. You will find some useful commands like SHM_INFO, SHM_STAT,
> SEM_INFO, SEM_STAT, MSG_INFO and MSG_STAT.
> To have all the infos about them there is an user space program called
> ipcs(8).
>
> Not that I don't appreciate your work, but <smile> it seems to me not
> very useful </smile>.

Maybe you're right... BTW, shmctl(2) says, just before "SYSTEM CALLS"
paragraph:

"The IPC_INFO, SHM_STAT and SHM_INFO control calls are used
by the ipcs(8) program to provide information on allocated
resources. In the future, these may be modified as needed
or moved to a proc file system interface."

Best regards,
Dragos.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html