Re: [PATCH] /proc/sysvipc

Brandon S. Allbery KF8NH (allbery@kf8nh.apk.net)
Sat, 25 Jul 1998 09:27:41 -0300


In message <Pine.LNX.3.96.980725160455.360A-100000@dragos.future.ro>, Dragos
Ac
ostachioaie writes:
+-----
| 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.
| >
| > 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).
|
| "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."
+--->8

Let's put it this way: the documented SYSVIPC interface provides
SYSV-compatible access to IPC information. /proc is the Linux-native way to
get at such things, so /proc access should be supported on Linux.

I'll also note that we have both sysctl and /proc/sys; is /proc/sys, then,
redundant and "not very useful"?

-- 
brandon s. allbery	[os/2][linux][solaris][japh]	 allbery@kf8nh.apk.net
system administrator	     [WAY too many hats]	   allbery@ece.cmu.edu
electrical and computer engineering
carnegie mellon university			   (bsa@kf8nh is still valid.)

- 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