{
    "mode": "man",
    "parameter": "readproctab",
    "section": "3",
    "url": "https://www.chedong.com/phpMan.php/man/readproctab/3/json",
    "generated": "2026-06-02T12:15:32Z",
    "synopsis": "",
    "sections": {
        "NAME": {
            "content": "readproctab, freeproctab  - read information for all current processes at once\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "",
            "subsections": [
                {
                    "name": "#include <proc/readproc.h>",
                    "content": "proct readproctab(int flags, ... );\nvoid freeproctab(proct p);\n\n"
                }
            ]
        },
        "DESCRIPTION": {
            "content": "readproctab  reads  information on all processes matching the criteria from flags, allocating\nmemory for everything as needed. It returns a NULL-terminated list of  proct  pointers.  For\nmore information on the arguments of readproctab, see openproc(3).\n\nfreeproctab frees all memory allocated by readproctab.\n\nThe  proct  structure is defined in <proc/readproc.h>, please look there for a definition of\nall fields.\n\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "openproc(3), readproc(3), /proc/, /usr/include/proc/readproc.h.\n",
            "subsections": []
        },
        "REPORTING BUGS": {
            "content": "Please send bug reports to ⟨procps@freelists.org⟩\n\n\n\nLinux Manpage                               14 July 2014                              READPROCTAB(3)",
            "subsections": []
        }
    },
    "summary": "readproctab, freeproctab  - read information for all current processes at once",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "openproc",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/openproc/3/json"
        },
        {
            "name": "readproc",
            "section": "3",
            "url": "https://www.chedong.com/phpMan.php/man/readproc/3/json"
        }
    ]
}