2024-05-07 01:44:32 -03:00
|
|
|
# ipcs
|
|
|
|
|
|
|
|
> Show information about the usage of System V IPC facilities: shared memory segments, message queues, and semaphore arrays.
|
|
|
|
> See also: `lsipc` for a more flexible tool, `ipcmk` for creating IPC facilities, and `ipcrm` for deleting them.
|
|
|
|
> More information: <https://manned.org/ipcs>.
|
|
|
|
|
|
|
|
- Show information about all active IPC facilities:
|
|
|
|
|
|
|
|
`ipcs`
|
|
|
|
|
|
|
|
- Show information about active shared [m]emory segments, message [q]ueues or [s]empahore sets:
|
|
|
|
|
|
|
|
`ipcs {{--shmems|--queues|--semaphores}}`
|
|
|
|
|
2025-03-26 02:30:50 +02:00
|
|
|
- Show full details on the resource with a specific ID:
|
2024-05-07 01:44:32 -03:00
|
|
|
|
2025-03-26 02:30:50 +02:00
|
|
|
`ipcs {{--shmems|--queues|--semaphores}} {{[-i|--id]}} {{resource_id}}`
|
2024-05-07 01:44:32 -03:00
|
|
|
|
2025-03-26 02:30:50 +02:00
|
|
|
- Show limits in [b]ytes or in a human-readable format:
|
2024-05-07 01:44:32 -03:00
|
|
|
|
2025-03-26 02:30:50 +02:00
|
|
|
`ipcs {{[-l|--limits]}} {{--bytes|--human}}`
|
2024-05-07 01:44:32 -03:00
|
|
|
|
|
|
|
- Show s[u]mmary about current usage:
|
|
|
|
|
2025-03-26 02:30:50 +02:00
|
|
|
`ipcs {{[-u|--summary]}}`
|
2024-05-07 01:44:32 -03:00
|
|
|
|
2025-03-26 02:30:50 +02:00
|
|
|
- Show creator's and owner's UIDs and PIDs for all IPC facilities:
|
2024-05-07 01:44:32 -03:00
|
|
|
|
2025-03-26 02:30:50 +02:00
|
|
|
`ipcs {{[-c|--creator]}}`
|
2024-05-07 01:44:32 -03:00
|
|
|
|
2025-03-26 02:30:50 +02:00
|
|
|
- Show the PID of the last operators for all IPC facilities:
|
2024-05-07 01:44:32 -03:00
|
|
|
|
2025-03-26 02:30:50 +02:00
|
|
|
`ipcs {{[-p|--pid]}}`
|
2024-05-07 01:44:32 -03:00
|
|
|
|
2025-03-26 02:30:50 +02:00
|
|
|
- Show last access times for all IPC facilities:
|
2024-05-07 01:44:32 -03:00
|
|
|
|
2025-03-26 02:30:50 +02:00
|
|
|
`ipcs {{[-t|--time]}}`
|