{
    "content": [
        {
            "type": "text",
            "text": "# readproctitle(8) (man)\n\n**Summary:** readproctitle - maintains an automatically rotated log in memory for inspection by ps(1).  readproctitle is available in daemontools 0.75 and above.\n\n**Synopsis:** readproctitle L D\n\n## See Also\n\n- supervise(8)\n- svc(8)\n- svok(8)\n- svstat(8)\n- svscanboot(8)\n- svscan(8)\n- fghack(8)\n- pgrphack(8)\n- multilog(8)\n- tai64n(8)\n- tai64nlocal(8)\n- setuidgid(8)\n- envuidgid(8)\n- envdir(8)\n- softlimit(8)\n- setlock(8)\n- ps(1)\n\n## Section Outline\n\n- **NAME** (4 lines)\n- **SYNOPSIS** (2 lines)\n- **DESCRIPTION** (28 lines)\n- **SEE ALSO** (10 lines)\n\n## Full Content\n\n### NAME\n\nreadproctitle - maintains an automatically rotated log in memory for inspection by ps(1).\n\nreadproctitle is available in daemontools 0.75 and above.\n\n### SYNOPSIS\n\nreadproctitle L D\n\n### DESCRIPTION\n\nL consists of any number of arguments.  D is one argument consisting of at least five dots.\n\nreadproctitle  reads  data into the end of D, shifting D to the left to make room. This means\nthat the most recent data is visible to process-listing tools such as  ps(1).   readproctitle\nalways leaves three dots at the left of D.\n\nFor example, if\n\nreadproctitle io errors: ....................\n\nreads the data\n\nfatal error xyz\nwarning abc\n\nthen its command-line arguments change to\n\nreadproctitle io errors: ... xyz!warning abc!\n\nwith a newline character in place of each !. Process-listing tools typically show the newline\ncharacter as ? or \\n.\n\nreadproctitle exits when it reaches the end of input.\n\nBeware that most implementations of ps(1) have small argument-length limits. These limits ap‐\nply  to  the  total length of readproctitle L D.  I have not seen a system with a limit below\n512 bytes.\n\n### SEE ALSO\n\nsupervise(8), svc(8), svok(8), svstat(8), svscanboot(8), svscan(8),  fghack(8),  pgrphack(8),\nmultilog(8),  tai64n(8), tai64nlocal(8), setuidgid(8), envuidgid(8), envdir(8), softlimit(8),\nsetlock(8), ps(1)\n\nhttp://cr.yp.to/daemontools.html\nhttp://cr.yp.to/slashcommand.html\n\n\n\nreadproctitle(8)\n\n"
        }
    ],
    "structuredContent": {
        "command": "readproctitle",
        "section": "8",
        "mode": "man",
        "summary": "readproctitle - maintains an automatically rotated log in memory for inspection by ps(1).  readproctitle is available in daemontools 0.75 and above.",
        "synopsis": "readproctitle L D",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "supervise",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/supervise/8/json"
            },
            {
                "name": "svc",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/svc/8/json"
            },
            {
                "name": "svok",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/svok/8/json"
            },
            {
                "name": "svstat",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/svstat/8/json"
            },
            {
                "name": "svscanboot",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/svscanboot/8/json"
            },
            {
                "name": "svscan",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/svscan/8/json"
            },
            {
                "name": "fghack",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/fghack/8/json"
            },
            {
                "name": "pgrphack",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/pgrphack/8/json"
            },
            {
                "name": "multilog",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/multilog/8/json"
            },
            {
                "name": "tai64n",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/tai64n/8/json"
            },
            {
                "name": "tai64nlocal",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/tai64nlocal/8/json"
            },
            {
                "name": "setuidgid",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/setuidgid/8/json"
            },
            {
                "name": "envuidgid",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/envuidgid/8/json"
            },
            {
                "name": "envdir",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/envdir/8/json"
            },
            {
                "name": "softlimit",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/softlimit/8/json"
            },
            {
                "name": "setlock",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/setlock/8/json"
            },
            {
                "name": "ps",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/ps/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 28,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 10,
                "subsections": []
            }
        ]
    }
}