LSIPC(1)

๐Ÿ’– LSIPC(1) ๐Ÿ’–

okay bestie, welcome to lsipc โ€” it's a User Commands girlie from the util-linux fam, and she's about to show you every IPC facility your system is currently using. no cap.


โœจ NAME โœจ

lsipc โ€” show information on IPC facilities currently employed in the system ๐Ÿซถ


๐ŸŒธ SYNOPSIS ๐ŸŒธ

lsipc [options]

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

So likeโ€ฆ lsipc shows you the tea on all the POSIX and System V inter-process communication facilities that the calling process has read access to. if you can't read it, she's not gonna spill it. periodt.

โš ๏ธ vibe check, bestie: the default output โ€” and the default output of options that have predefined output columns (like --shmems, etc.) โ€” is subject to change. so whenever possible, avoid using default outputs in your scripts. always explicitly define the expected columns with --output columns-list in any environment where you need stable output. do not skip this. i'm literally begging.

๐Ÿ’… OPTIONS ๐Ÿ’…

  • -i, --id id โ€” show full details on just one resource element (System V) identified by id. this one needs to be combined with one of the three resource options: -m, -q or -s. you can override the default output format for this option with --list, --raw, --json or --export. slay.
  • -N, --name name โ€” show full details on just one resource element (POSIX) identified by name. this one also needs to be combined with one of the three resource options: -M, -Q or -S. and yes, you can override the default output format here too with --list, --raw, --json or --export. ๐ŸŽ€
  • -g, --global โ€” show system-wide usage and limits of IPC resources. may be combined with one of the three resource options: -m, -q or -s. the default is to show info about all resources. main character energy tbh.
  • -h, --help โ€” display help text and exit. classic.
  • -V, --version โ€” display version and exit. also classic.

๐Ÿ”ฅ Resource options ๐Ÿ”ฅ

  • -m, --shmems โ€” write information about active System V shared memory segments. ๐Ÿ“
  • -M, --posix-shmems โ€” write information about active POSIX shared memory segments.
  • -q, --queues โ€” write information about active System V message queues.
  • -Q, --posix-mqueues โ€” write information about active POSIX message queues.
  • -s, --semaphores โ€” write information about active System V semaphore sets.
  • -S, --posix-semaphores โ€” write information about active POSIX named semaphores.

โœจ Output formatting โœจ

  • -c, --creator โ€” show creator and owner. giving credit where credit is due ๐Ÿ’–
  • -e, --export โ€” produce output in the form of key="value" pairs. all potentially unsafe value characters get hex-escaped as \x<code>. see also the --shell option. ๐Ÿ‘‘
  • -J, --json โ€” use the JSON output format. for the girlies who speak API.
  • -l, --list โ€” use the list output format. this is the default, except when --id is used.
  • -n, --newline โ€” display each piece of information on a separate line. one thing at a time, we love a focused queen.
  • --noheadings โ€” do not print a header line. no intros, straight to the plot.
  • --notruncate โ€” don't truncate output. she said she's gonna say the whole thing.
  • -o, --output list โ€” specify which output columns to print. use --help to get a list of all supported columns. (this is your bestie for stable scripts, remember what we said in DESCRIPTION ๐Ÿ’…)
  • -b, --bytes โ€” print size in bytes rather than in human readable format. for the numbers girlies.
  • -r, --raw โ€” raw output (no columnation).
  • -t, --time โ€” write time information. that's: the time of the last control operation that changed the access permissions for all facilities, the time of the last msgsnd(2) and msgrcv(2) operations on message queues, the time of the last shmat(2) and shmdt(2) operations on shared memory, and the time of the last semop(2) operation on semaphores. she keeps receipts. ๐Ÿ•ฐ๏ธ
  • --time-format type โ€” display dates in short, full or iso format. the default is short, and this time format is designed to be space efficient and human readable. cute and compact. โœจ
  • -P, --numeric-perms โ€” print numeric permissions in the PERMS column.
  • -y, --shell โ€” the column name will be modified to contain only characters allowed for shell variable identifiers. this is usable, for example, with --export. ๐Ÿ“Œ note the lore: this feature was automatically enabled for --export in version 2.37, but due to compatibility issues, now it's necessary to request this behavior explicitly by using --shell. so yeah, opt in, bestie.

๐ŸŒˆ ENVIRONMENT ๐ŸŒˆ

  • LIBSMARTCOLS_DEBUG=all โ€” enables libsmartcols debug output.
  • LIBSMARTCOLS_DEBUG_PADDING=on โ€” use visible padding characters.
  • LIBSMARTCOLS_JSON=compact|lines โ€” controls JSON output format when using --json. supported values are compact for JSON output with minimal whitespace, and lines for JSON Lines format (one JSON object per line). if unset or set to any other value, pretty-printed JSON is used. ๐Ÿฆ‹

๐Ÿ’€ EXIT STATUS ๐Ÿ’€

  1. 0 โ€” if OK โœ…
  2. 1 โ€” if incorrect arguments specified ๐Ÿ™ˆ
  3. 2 โ€” if a serious error occurs ๐Ÿ˜ญ

๐Ÿงš HISTORY ๐Ÿงš

the lsipc utility is inspired by the ipcs(1) utility. it's givingโ€ฆ legacy. it's givingโ€ฆ homage. we love a glow-up that respects its roots. ๐Ÿซถ


๐Ÿ‘‘ AUTHORS ๐Ÿ‘‘

Ondrej Oprala <ooprala@redhat.com>, Karel Zak <kzak@redhat.com>


๐Ÿ”— SEE ALSO ๐Ÿ”—

ipcmk(1), ipcrm(1), msgrcv(2), msgsnd(2), semget(2), semop(2), shmat(2), shmdt(2), shmget(2), sysvipc(7)


๐Ÿ› REPORTING BUGS ๐Ÿ›

for bug reports, use the issue tracker at <https://github.com/util-linux/util-linux/issues>.


โญ AVAILABILITY โญ

the lsipc command is part of the util-linux package, which can be downloaded from the Linux Kernel Archive at <https://www.kernel.org/pub/linux/utils/util-linux/>.


and that's the whole page, bestie ๐Ÿ’– this was util-linux 2.42.4, dated 2026-09-21, and it lives in the LSIPC(1) manual. go read your IPC facilities, you icon. mwah ๐ŸŽ€โœจ

๐Ÿ“ฆ where this page comes from
  • arch rolling: util-linux 2.42.4-1 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND ISC AND LGPL-2.1-or-later AND LicenseRef-PublicDomain
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms