{
    "content": [
        {
            "type": "text",
            "text": "# lsipc(1) (man)\n\n## TLDR\n\n> Show information on System V IPC facilities currently employed in the system.\n\n- Show information about all active IPC facilities:\n  `lsipc`\n- Show information about active shared [m]emory segments, message [q]ueues, or [s]empahore sets:\n  `lsipc {{-shmems|--queues|--semaphores}}`\n- Show full details on the resource with a specific ID:\n  `lsipc {{-shmems|--queues|--semaphores}} {{-i|--id}} {{resource_id}}`\n- Print the given output columns (see all supported columns with `--help`):\n  `lsipc {{-o|--output}} {{KEY,ID,PERMS,SEND,STATUS,NSEMS,RESOURCE,...}}`\n- Use [r]aw, [J]SON, [l]ist, or [e]xport (key=\"value\") format:\n  `lsipc {{-raw|--json|--list|--export}}`\n- Don't truncate the output:\n  `lsipc --notruncate`\n\n*Source: tldr-pages*\n\n---\n\n**Summary:** lsipc - show information on IPC facilities currently employed in the system\n\n**Synopsis:** lsipc [options]\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -i | --id | — | Show full details on just the one resource element identified by id. This option needs to be combined with one of the th |\n| -g | --global | — | Show system-wide usage and limits of IPC resources. This option may be combined with one of the three resource options:  |\n| -h | --help | — | Display help text and exit. |\n| -V | --version | — | Display version information and exit. |\n| -m | --shmems | — | Write information about active shared memory segments. |\n| -q | --queues | — | Write information about active message queues. |\n| -s | --semaphores | — | Write information about active semaphore sets. |\n| -c | --creator | — | Show creator and owner. |\n| -e | --export | — | Produce output in the form of key=\"value\" pairs. All potentially unsafe value characters are hex-escaped (\\x<code>). |\n| -J | --json | — | Use the JSON output format. |\n| -l | --list | — | Use the list output format. This is the default, except when --id is used. |\n| -n | --newline | — | Display each piece of information on a separate line. |\n| — | --noheadings | — | Do not print a header line. |\n| — | --notruncate | — | Don’t truncate output. |\n| -o | --output | — | Specify which output columns to print. Use --help to get a list of all supported columns. |\n| -b | --bytes | — | Print size in bytes rather than in human readable format. |\n| -r | --raw | — | Raw output (no columnation). |\n| -t | --time | — | Write time information. The time of the last control operation that changed the access permissions for all facilities, t |\n| -P | --numeric-perms | — | Print numeric permissions in PERMS column. |\n\n## See Also\n\n- ipcmk(1)\n- ipcrm(1)\n- msgrcv(2)\n- msgsnd(2)\n- semget(2)\n- semop(2)\n- shmat(2)\n- shmdt(2)\n- shmget(2)\n- sysvipc(7)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (3 lines)\n- **OPTIONS** (1 lines) — 21 subsections\n  - -i --id (5 lines)\n  - -g --global (4 lines)\n  - -h --help (2 lines)\n  - -V --version (2 lines)\n  - Resource options (1 lines)\n  - -m --shmems (2 lines)\n  - -q --queues (2 lines)\n  - -s --semaphores (2 lines)\n  - Output formatting (1 lines)\n  - -c --creator (2 lines)\n  - -e --export (3 lines)\n  - -J --json (2 lines)\n  - -l --list (2 lines)\n  - -n --newline (2 lines)\n  - --noheadings (2 lines)\n  - --notruncate (2 lines)\n  - -o --output (2 lines)\n  - -b --bytes (2 lines)\n  - -r --raw (2 lines)\n  - -t --time (9 lines)\n  - -P --numeric-perms (2 lines)\n- **EXIT STATUS** (9 lines)\n- **HISTORY** (2 lines)\n- **AUTHORS** (2 lines)\n- **SEE ALSO** (3 lines)\n- **REPORTING BUGS** (2 lines)\n- **AVAILABILITY** (6 lines)\n\n## Full Content\n\n### NAME\n\nlsipc - show information on IPC facilities currently employed in the system\n\n### SYNOPSIS\n\nlsipc [options]\n\n### DESCRIPTION\n\nlsipc shows information on the System V inter-process communication facilities for which the\ncalling process has read access.\n\n### OPTIONS\n\n#### -i --id\n\nShow full details on just the one resource element identified by id. This option needs to\nbe combined with one of the three resource options: -m, -q or -s. It is possible to\noverride the default output format for this option with the --list, --raw, --json or\n--export option.\n\n#### -g --global\n\nShow system-wide usage and limits of IPC resources. This option may be combined with one\nof the three resource options: -m, -q or -s. The default is to show information about all\nresources.\n\n#### -h --help\n\nDisplay help text and exit.\n\n#### -V --version\n\nDisplay version information and exit.\n\n#### Resource options\n\n#### -m --shmems\n\nWrite information about active shared memory segments.\n\n#### -q --queues\n\nWrite information about active message queues.\n\n#### -s --semaphores\n\nWrite information about active semaphore sets.\n\n#### Output formatting\n\n#### -c --creator\n\nShow creator and owner.\n\n#### -e --export\n\nProduce output in the form of key=\"value\" pairs. All potentially unsafe value characters\nare hex-escaped (\\x<code>).\n\n#### -J --json\n\nUse the JSON output format.\n\n#### -l --list\n\nUse the list output format. This is the default, except when --id is used.\n\n#### -n --newline\n\nDisplay each piece of information on a separate line.\n\n#### --noheadings\n\nDo not print a header line.\n\n#### --notruncate\n\nDon’t truncate output.\n\n#### -o --output\n\nSpecify which output columns to print. Use --help to get a list of all supported columns.\n\n#### -b --bytes\n\nPrint size in bytes rather than in human readable format.\n\n#### -r --raw\n\nRaw output (no columnation).\n\n#### -t --time\n\nWrite time information. The time of the last control operation that changed the access\npermissions for all facilities, the time of the last msgsnd(2) and msgrcv(2) operations\non message queues, the time of the last shmat(2) and shmdt(2) operations on shared\nmemory, and the time of the last semop(2) operation on semaphores.\n\n--time-format type\nDisplay dates in short, full or iso format. The default is short, this time format is\ndesigned to be space efficient and human readable.\n\n#### -P --numeric-perms\n\nPrint numeric permissions in PERMS column.\n\n### EXIT STATUS\n\n0\nif OK,\n\n1\nif incorrect arguments specified,\n\n2\nif a serious error occurs.\n\n### HISTORY\n\nThe lsipc utility is inspired by the ipcs(1) utility.\n\n### AUTHORS\n\nOndrej Oprala <ooprala@redhat.com>, Karel Zak <kzak@redhat.com>\n\n### SEE ALSO\n\nipcmk(1), ipcrm(1), msgrcv(2), msgsnd(2), semget(2), semop(2), shmat(2), shmdt(2), shmget(2),\nsysvipc(7)\n\n### REPORTING BUGS\n\nFor bug reports, use the issue tracker at https://github.com/karelzak/util-linux/issues.\n\n### AVAILABILITY\n\nThe lsipc command is part of the util-linux package which can be downloaded from Linux Kernel\nArchive <https://www.kernel.org/pub/linux/utils/util-linux/>.\n\n\n\nutil-linux 2.37.2                            2026-03-06                                     LSIPC(1)\n\n"
        }
    ],
    "structuredContent": {
        "command": "lsipc",
        "section": "1",
        "mode": "man",
        "summary": "lsipc - show information on IPC facilities currently employed in the system",
        "synopsis": "lsipc [options]",
        "tldr_summary": "Show information on System V IPC facilities currently employed in the system.",
        "tldr_examples": [
            {
                "description": "Show information about all active IPC facilities",
                "command": "lsipc"
            },
            {
                "description": "Show information about active shared [m]emory segments, message [q]ueues, or [s]empahore sets",
                "command": "lsipc {{-shmems|--queues|--semaphores}}"
            },
            {
                "description": "Show full details on the resource with a specific ID",
                "command": "lsipc {{-shmems|--queues|--semaphores}} {{-i|--id}} {{resource_id}}"
            },
            {
                "description": "Print the given output columns (see all supported columns with `--help`)",
                "command": "lsipc {{-o|--output}} {{KEY,ID,PERMS,SEND,STATUS,NSEMS,RESOURCE,...}}"
            },
            {
                "description": "Use [r]aw, [J]SON, [l]ist, or [e]xport (key=\"value\") format",
                "command": "lsipc {{-raw|--json|--list|--export}}"
            },
            {
                "description": "Don't truncate the output",
                "command": "lsipc --notruncate"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-i",
                "long": "--id",
                "arg": null,
                "description": "Show full details on just the one resource element identified by id. This option needs to be combined with one of the three resource options: -m, -q or -s. It is possible to override the default output format for this option with the --list, --raw, --json or --export option."
            },
            {
                "flag": "-g",
                "long": "--global",
                "arg": null,
                "description": "Show system-wide usage and limits of IPC resources. This option may be combined with one of the three resource options: -m, -q or -s. The default is to show information about all resources."
            },
            {
                "flag": "-h",
                "long": "--help",
                "arg": null,
                "description": "Display help text and exit."
            },
            {
                "flag": "-V",
                "long": "--version",
                "arg": null,
                "description": "Display version information and exit."
            },
            {
                "flag": "-m",
                "long": "--shmems",
                "arg": null,
                "description": "Write information about active shared memory segments."
            },
            {
                "flag": "-q",
                "long": "--queues",
                "arg": null,
                "description": "Write information about active message queues."
            },
            {
                "flag": "-s",
                "long": "--semaphores",
                "arg": null,
                "description": "Write information about active semaphore sets."
            },
            {
                "flag": "-c",
                "long": "--creator",
                "arg": null,
                "description": "Show creator and owner."
            },
            {
                "flag": "-e",
                "long": "--export",
                "arg": null,
                "description": "Produce output in the form of key=\"value\" pairs. All potentially unsafe value characters are hex-escaped (\\x<code>)."
            },
            {
                "flag": "-J",
                "long": "--json",
                "arg": null,
                "description": "Use the JSON output format."
            },
            {
                "flag": "-l",
                "long": "--list",
                "arg": null,
                "description": "Use the list output format. This is the default, except when --id is used."
            },
            {
                "flag": "-n",
                "long": "--newline",
                "arg": null,
                "description": "Display each piece of information on a separate line."
            },
            {
                "flag": "",
                "long": "--noheadings",
                "arg": null,
                "description": "Do not print a header line."
            },
            {
                "flag": "",
                "long": "--notruncate",
                "arg": null,
                "description": "Don’t truncate output."
            },
            {
                "flag": "-o",
                "long": "--output",
                "arg": null,
                "description": "Specify which output columns to print. Use --help to get a list of all supported columns."
            },
            {
                "flag": "-b",
                "long": "--bytes",
                "arg": null,
                "description": "Print size in bytes rather than in human readable format."
            },
            {
                "flag": "-r",
                "long": "--raw",
                "arg": null,
                "description": "Raw output (no columnation)."
            },
            {
                "flag": "-t",
                "long": "--time",
                "arg": null,
                "description": "Write time information. 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. --time-format type Display dates in short, full or iso format. The default is short, this time format is designed to be space efficient and human readable."
            },
            {
                "flag": "-P",
                "long": "--numeric-perms",
                "arg": null,
                "description": "Print numeric permissions in PERMS column."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "ipcmk",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/ipcmk/1/json"
            },
            {
                "name": "ipcrm",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/ipcrm/1/json"
            },
            {
                "name": "msgrcv",
                "section": "2",
                "url": "https://www.chedong.com/phpMan.php/man/msgrcv/2/json"
            },
            {
                "name": "msgsnd",
                "section": "2",
                "url": "https://www.chedong.com/phpMan.php/man/msgsnd/2/json"
            },
            {
                "name": "semget",
                "section": "2",
                "url": "https://www.chedong.com/phpMan.php/man/semget/2/json"
            },
            {
                "name": "semop",
                "section": "2",
                "url": "https://www.chedong.com/phpMan.php/man/semop/2/json"
            },
            {
                "name": "shmat",
                "section": "2",
                "url": "https://www.chedong.com/phpMan.php/man/shmat/2/json"
            },
            {
                "name": "shmdt",
                "section": "2",
                "url": "https://www.chedong.com/phpMan.php/man/shmdt/2/json"
            },
            {
                "name": "shmget",
                "section": "2",
                "url": "https://www.chedong.com/phpMan.php/man/shmget/2/json"
            },
            {
                "name": "sysvipc",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/sysvipc/7/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-i --id",
                        "lines": 5,
                        "flag": "-i",
                        "long": "--id"
                    },
                    {
                        "name": "-g --global",
                        "lines": 4,
                        "flag": "-g",
                        "long": "--global"
                    },
                    {
                        "name": "-h --help",
                        "lines": 2,
                        "flag": "-h",
                        "long": "--help"
                    },
                    {
                        "name": "-V --version",
                        "lines": 2,
                        "flag": "-V",
                        "long": "--version"
                    },
                    {
                        "name": "Resource options",
                        "lines": 1
                    },
                    {
                        "name": "-m --shmems",
                        "lines": 2,
                        "flag": "-m",
                        "long": "--shmems"
                    },
                    {
                        "name": "-q --queues",
                        "lines": 2,
                        "flag": "-q",
                        "long": "--queues"
                    },
                    {
                        "name": "-s --semaphores",
                        "lines": 2,
                        "flag": "-s",
                        "long": "--semaphores"
                    },
                    {
                        "name": "Output formatting",
                        "lines": 1
                    },
                    {
                        "name": "-c --creator",
                        "lines": 2,
                        "flag": "-c",
                        "long": "--creator"
                    },
                    {
                        "name": "-e --export",
                        "lines": 3,
                        "flag": "-e",
                        "long": "--export"
                    },
                    {
                        "name": "-J --json",
                        "lines": 2,
                        "flag": "-J",
                        "long": "--json"
                    },
                    {
                        "name": "-l --list",
                        "lines": 2,
                        "flag": "-l",
                        "long": "--list"
                    },
                    {
                        "name": "-n --newline",
                        "lines": 2,
                        "flag": "-n",
                        "long": "--newline"
                    },
                    {
                        "name": "--noheadings",
                        "lines": 2,
                        "long": "--noheadings"
                    },
                    {
                        "name": "--notruncate",
                        "lines": 2,
                        "long": "--notruncate"
                    },
                    {
                        "name": "-o --output",
                        "lines": 2,
                        "flag": "-o",
                        "long": "--output"
                    },
                    {
                        "name": "-b --bytes",
                        "lines": 2,
                        "flag": "-b",
                        "long": "--bytes"
                    },
                    {
                        "name": "-r --raw",
                        "lines": 2,
                        "flag": "-r",
                        "long": "--raw"
                    },
                    {
                        "name": "-t --time",
                        "lines": 9,
                        "flag": "-t",
                        "long": "--time"
                    },
                    {
                        "name": "-P --numeric-perms",
                        "lines": 2,
                        "flag": "-P",
                        "long": "--numeric-perms"
                    }
                ]
            },
            {
                "name": "EXIT STATUS",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "HISTORY",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "REPORTING BUGS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AVAILABILITY",
                "lines": 6,
                "subsections": []
            }
        ]
    }
}