Files
2025-12-31 00:22:26 +00:00

43 lines
1.0 KiB
Plaintext

---
syntax: markdown
tags: [tldr, linux]
source: https://github.com/tldr-pages/tldr.git
---
# ipcs
> Show information about the usage of System V IPC facilities: shared memory segments, message queues, and semaphore arrays.
> See also: `lsipc`, `ipcmk`, `ipcrm`.
> 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}}`
- Show full details on the resource with a specific ID:
`ipcs {{--shmems|--queues|--semaphores}} {{[-i|--id]}} {{resource_id}}`
- Show limits in [b]ytes or in a human-readable format:
`ipcs {{[-l|--limits]}} {{--bytes|--human}}`
- Show summary about current usage:
`ipcs {{[-u|--summary]}}`
- Show creator's and owner's UIDs and PIDs for all IPC facilities:
`ipcs {{[-c|--creator]}}`
- Show the PID of the last operators for all IPC facilities:
`ipcs {{[-p|--pid]}}`
- Show last access times for all IPC facilities:
`ipcs {{[-t|--time]}}`