Interprocess Communication Dcmds
-
::ipcs[-l] -
Display a listing of system-wide IPC identifiers, corresponding to known message queues, semaphores, and shared memory segments. If the
-loption is specified, a longer listing of information is shown. -
address
::msg[-l] [-ttype] -
Display the properties of the specified message queue element (struct
msg). If the-loption is present, the raw contents of the message are displayed in hexadecimal and ASCII. If the-toption is present, it can be used to filter the output and only display messages of the specified type. This can be useful when piping the output of themsgqueuewalker to::msg. -
id
::msqid[-k] -
Convert the specified message queue IPC identifier to a pointer to the corresponding kernel implementation structure and print the address of this kernel structure. If the
-koption is present, the id is instead interpreted as a message queue key to match (seemsgget(2)). -
[ address ]
::msqid_ds[-l] -
Print the specified
msqid_dsstructure or a table of the activemsqid_dsstructures (message queue identifiers). If the-loption is specified, a longer listing of information is displayed. -
id
::semid[-k] -
Convert the specified semaphore IPC identifier to a pointer to the corresponding kernel implementation structure and print the address of this kernel structure. If the
-koption is present, the id is instead interpreted as a semaphore key to match (seesemget(2)). -
[ address ]
::semid_ds[-l] -
Print the specified
semid_dsstructure or a table of the activesemid_dsstructures (semaphore identifiers). If the-loption is specified, a longer listing of information is displayed. -
id
::shmid[-k] -
Convert the specified shared memory IPC identifier to a pointer to the corresponding kernel implementation structure and print the address of this kernel structure. If the
-koption is present, the id is instead interpreted as a shared memory key to match (seeshmget(2)). -
[ address ]
::shmid_ds[-l] -
Print the specified
shmid_dsstructure or a table of the activeshmid_dsstructures (shared memory segment identifiers). If the-loption is specified, a longer listing of information is displayed.