5

I know that with ipcs(1) command, one can monitor System V message queues, shared memory and semaphores, but how do I monitor POSIX message queues, shared memory and semaphores. For POSIX message queues, I can mount a pseudo filesystem, as stated in mq_overview(7). Thank you in advance for any help.

Kouros
  • 195
  • 9

1 Answers1

5

I don't believe there are any commands that allow you to monitor POSIX message queues specifically.

As you mentioned, all of the details are exposed via a pseudo filesystem, usually mounted under /dev/mqueue. Once you've done that, you can then use file management commands like ls, rm, cat, etc. to inspect and manage the queue details.

mjturner
  • 7,082
  • 1
  • 26
  • 32
  • 2
    And for shared memory and semaphore, you can look in /dev/shm because POSIX creates its objects in a tmpfs. – Kouros Jul 22 '15 at 07:41