DNF5-NEEDS-RESTARTING(8) dnf5 DNF5-NEEDS-RESTARTING(8) (NAME) dnf5-needs-restarting - DNF5 (SYNOPSIS) dnf5 needs-restarting [-p | --processes [-e | --exclude-services]] [-s | --services] [-r | --reboothint] [--json] (DESCRIPTION) needs-restarting (reboot) . dnf5 needs-restarting (boot) . (kernel) systemd : reboot_suggested . --services systemd needs-restarting 1 . needs-restarting 0 . (OPTIONS) -p, --processes . . -e, --exclude-services -p, --processes systemd . -s, --services systemd . . . -r, --reboothint DNF 4 . "dnf4 needs-restarting -r" "dnf5 needs-restarting" . --json JSON . JSON (JSON OUTPUT) o dnf5 needs-restarting --json JSON (reboot hint) . : o type (string) - "reboot". o reboot_required (boolean) - . o packages (array of strings) - . o documentation (string) - . o dnf5 needs-restarting --services --json JSON systemd . : o type (string) - "unit". o unit (string) - systemd. o dnf5 needs-restarting --processes --json JSON . : o type (string) - "process". o pid (integer) - (Process ID). o cmdline (array of strings) - . o package (string) - . --json --processes --exclude-services systemd ( dnf5 needs-restarting --processes --exclude-services --json). [] . (reboot hint) JSON reboot_required false packages documentation . (AUTHORS) AUTHORS.md dnf5 . (COPYRIGHT) dnf5. September 6, 2026 DNF5-NEEDS-RESTARTING(8)