Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

45. Introduction to System V IPC > Obtaining a List of All IPC Objects

Obtaining a List of All IPC Objects

Linux provides two nonstandard methods of obtaining a list of all IPC objects on the system:

  • files within the /proc/sysvipc directory that list all IPC objects; and

  • the use of Linux-specific ctl calls.

We describe the files in /proc/sysvipc directory here, and defer discussion of the ctl calls until Displaying All Message Queues on the System, where we provide an example program that lists all System V message queues on the system.

Note

Some other UNIX implementations have their own nonstandard methods of obtaining a list of all IPC identifiers; for example, Solaris provides the msgids(), semids(), and shmids() system calls for this purpose.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint