DIPCSHM(1)

NAME
dipcshm - DIPC shared memory administration tool

SYNOPSIS
dipcshm info <key>

dipcshm rm <key>

DESCRIPTION
dipcshm (shm is for shared memory) can display some information about the computers that want to access a shared memory IPC structure with the specified key. It could also be used to force a shared memory manager to quit. This is of use when we have removed the shared memory entry from the referee by using dipcref, and the shared memory's manager is still running.

OPTIONS

info
    is used to see the current list of processes wanting to access, or are accessing the shared memory specified by <key>.

rm  forces the manager of the shared memory specified by <key> to stop running.

DISPLAY FORMAT
For the "info" option, the first column of output displays the segment number. If this computer is configured to use segment-based shared memories, then segment 0 represents the whole segment. The second column shows information about the state of a computer's access, which can be WANT_ACCESS (Want to access, but not accessing yet), PENDING AK, (The shared memory manager is waiting for an acknowledge from the machine), and ACCESSING (the machine is actually accessing the shared memory). The third one tells the kind of access (READER or WRITER). The fourth column shows the IP address of the machine responsible for the request.

OPERATION
dipcshm works by sending its requests to a UNIX domain socket that is used by the specified shared memory manager. It also receives the results through this socket. dipcshm should not waste the manager's time, so it puts the received list of requests in a linked list before displaying them to the user.

SEE ALSO
dipc(1), dipcd(8), dipcker(1), dipcref(1), dipcx(1), dipc.allow(5), dipc.conf(5), rsh(1), ipc(2)

BUGS
Please send all bug reports to this address:

linux-dipc@wallybox.cei.net

AUTHOR
  Kamran Karimi
  89, Nastaran/Ghandehari
  Khosh Shomali str.
  14578 - Tehran, Iran
  kamran@wallybox.cei.net mshar@vax.ipm.ac.ir