{
    "mode": "man",
    "parameter": "readproctitle",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/readproctitle/8/json",
    "generated": "2026-05-30T08:15:27Z",
    "synopsis": "readproctitle L D",
    "sections": {
        "NAME": {
            "content": "readproctitle - maintains an automatically rotated log in memory for inspection by ps(1).\n\nreadproctitle is available in daemontools 0.75 and above.\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "readproctitle L D\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "L 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",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "supervise(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)",
            "subsections": []
        }
    },
    "summary": "readproctitle - maintains an automatically rotated log in memory for inspection by ps(1).  readproctitle is available in daemontools 0.75 and above.",
    "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"
        }
    ]
}