LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ipcs

display information about System V IPC resources

TLDR

Show all active IPC facilities
$ ipcs
copy
Show active shared memory segments
$ ipcs -m
copy
Show active message queues
$ ipcs -q
copy
Show active semaphores
$ ipcs -s
copy
Show details for specific shared memory segment by ID
$ ipcs -m -i [shmid]
copy
Show system limits
$ ipcs -l
copy
Show summary of current usage
$ ipcs -u
copy
Show creator/owner information
$ ipcs -c
copy
Show last access times
$ ipcs -t
copy

SYNOPSIS

ipcs [options]

DESCRIPTION

ipcs displays information about System V IPC resources: shared memory segments, message queues, and semaphore arrays. It shows resource IDs, keys, owners, permissions, and sizes.This is essential for monitoring IPC resource usage and identifying orphaned resources that should be cleaned up with ipcrm.

PARAMETERS

-m, --shmems

Show shared memory segments
-q, --queues
Show message queues
-s, --semaphores
Show semaphore sets
-i, --id ID
Show details for specific resource
-l, --limits
Show system limits
-u, --summary
Show usage summary
-c, --creator
Show creator and owner UIDs/PIDs
-p, --pid
Show PIDs of last operators
-t, --time
Show last access times
--human
Show sizes in human-readable format

INSTALL

sudo apt install util-linux
copy
sudo dnf install util-linux
copy
sudo pacman -S util-linux
copy
sudo apk add util-linux-misc
copy
sudo zypper install util-linux
copy
brew install util-linux
copy
nix profile install nixpkgs#util-linux
copy

CAVEATS

Only shows System V IPC, not POSIX IPC resources. User can only see resources they have permission to access (root sees all). Large numbers of resources may indicate a leak.

HISTORY

ipcs has been a standard Unix utility since System V IPC was introduced in the early 1980s. It remains the primary tool for inspecting System V IPC resources.

SEE ALSO

ipcmk(1), ipcrm(1), lsipc(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid