{
    "content": [
        {
            "type": "text",
            "text": "# nice (man)\n\n## NAME\n\nnice - run a program with modified scheduling priority\n\n## SYNOPSIS\n\nnice [OPTION] [COMMAND [ARG]...]\n\n## DESCRIPTION\n\nRun  COMMAND  with  an adjusted niceness, which affects process scheduling.  With no COMMAND,\nprint the current niceness.  Niceness values range from -20 (most favorable to  the  process)\nto 19 (least favorable to the process).\n\n## TLDR\n\n> Execute a program with a custom scheduling priority (niceness).\n\n- Print the current niceness value:\n  `nice`\n- Increment the current niceness value by 10:\n  `nice nice`\n- Launch a program with lowered priority:\n  `nice -{{niceness_value}} {{command}}`\n- Launch a program with heightened priority:\n  `sudo nice --{{niceness_value}} {{command}}`\n- Define the priority with an explicit option:\n  `nice {{-n|--adjustment}} {{niceness_value}} {{command}}`\n\n*Source: tldr-pages*\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION** (2 subsections)\n- **AUTHOR**\n- **REPORTING BUGS**\n- **COPYRIGHT**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "nice",
        "section": "",
        "mode": "man",
        "summary": "nice - run a program with modified scheduling priority",
        "synopsis": "nice [OPTION] [COMMAND [ARG]...]",
        "tldr_summary": "Execute a program with a custom scheduling priority (niceness).",
        "tldr_examples": [
            {
                "description": "Print the current niceness value",
                "command": "nice"
            },
            {
                "description": "Increment the current niceness value by 10",
                "command": "nice nice"
            },
            {
                "description": "Launch a program with lowered priority",
                "command": "nice -{{niceness_value}} {{command}}"
            },
            {
                "description": "Launch a program with heightened priority",
                "command": "sudo nice --{{niceness_value}} {{command}}"
            },
            {
                "description": "Define the priority with an explicit option",
                "command": "nice {{-n|--adjustment}} {{niceness_value}} {{command}}"
            }
        ],
        "tldr_source": "official",
        "flags": [
            {
                "flag": "-n",
                "long": "--adjustment",
                "arg": null,
                "description": "add integer N to the niceness (default 10) --help display this help and exit"
            },
            {
                "flag": "",
                "long": "--version",
                "arg": null,
                "description": "output version information and exit NOTE: your shell may have its own version of nice, which usually supersedes the version de‐ scribed here. Please refer to your shell's documentation for details about the options it supports."
            }
        ],
        "examples": [],
        "see_also": [
            {
                "name": "renice",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/renice/1/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 6,
                "subsections": [
                    {
                        "name": "-n --adjustment",
                        "lines": 4,
                        "flag": "-n",
                        "long": "--adjustment"
                    },
                    {
                        "name": "--version",
                        "lines": 6,
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "AUTHOR",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "REPORTING BUGS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 8,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "nice - run a program with modified scheduling priority\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "nice [OPTION] [COMMAND [ARG]...]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "Run  COMMAND  with  an adjusted niceness, which affects process scheduling.  With no COMMAND,\nprint the current niceness.  Niceness values range from -20 (most favorable to  the  process)\nto 19 (least favorable to the process).\n\nMandatory arguments to long options are mandatory for short options too.\n",
                "subsections": [
                    {
                        "name": "-n --adjustment",
                        "content": "add integer N to the niceness (default 10)\n\n--help display this help and exit\n",
                        "flag": "-n",
                        "long": "--adjustment"
                    },
                    {
                        "name": "--version",
                        "content": "output version information and exit\n\nNOTE:  your  shell may have its own version of nice, which usually supersedes the version de‐\nscribed here.  Please refer to your shell's documentation for details about  the  options  it\nsupports.\n",
                        "long": "--version"
                    }
                ]
            },
            "AUTHOR": {
                "content": "Written by David MacKenzie.\n",
                "subsections": []
            },
            "REPORTING BUGS": {
                "content": "GNU coreutils online help: <https://www.gnu.org/software/coreutils/>\nReport any translation bugs to <https://translationproject.org/team/>\n",
                "subsections": []
            },
            "COPYRIGHT": {
                "content": "Copyright  ©  2020 Free Software Foundation, Inc.  License GPLv3+: GNU GPL version 3 or later\n<https://gnu.org/licenses/gpl.html>.\nThis is free software: you are free to change and redistribute it.  There is NO WARRANTY,  to\nthe extent permitted by law.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "nice(2), renice(1)\n\nFull documentation <https://www.gnu.org/software/coreutils/nice>\nor available locally via: info '(coreutils) nice invocation'\n\n\n\nGNU coreutils 8.32                          January 2026                                     NICE(1)",
                "subsections": []
            }
        }
    }
}