SYSTEMD-INHIBIT(1) systemd-inhibit SYSTEMD-INHIBIT(1) systemd-inhibit - systemd-inhibit [...] [] [...] systemd-inhibit [...] [--list] systemd-inhibit . . . . [1]. : --what= : "shutdown" "sleep" "idle" "handle-power-key" "handle-reboot-key" "handle-suspend-key" "handle-hibernate-key" "handle-lid-switch" / //kexec/ / / / . "idle:sleep:shutdown". --who= . . --why= . " ". --mode= "block" "delay" "block-weak" . "block" () . "block-weak" "block" . "delay" . . logind.conf(5). "delay" "sleep" "shutdown". --list . --what= --who= --why= --mode=. --no-ask-password . --no-pager (pager). --no-legend . --json= JSON. : "short" ( ) "pretty" ( ) "off" ( JSON ). -h --help . --version . . # systemd-inhibit wodim foobar.iso ISO foobar.iso wodim(1) . $SYSTEMD_LOG_LEVEL ( ). . ( ) emerg alert crit err warning notice info debug 0 7. syslog(3) . console syslog kmsg journal (: SYSTEMD_LOG_LEVEL=debug,console:info debug info). . $SYSTEMD_LOG_COLOR . tty . journalctl(1) . $SYSTEMD_LOG_TIME . . journalctl(1) . $SYSTEMD_LOG_LOCATION . . . . $SYSTEMD_LOG_TID . (TID). . . $SYSTEMD_LOG_TARGET . : console ( ) console-prefixed ( "" syslog(3) kmsg ( ) journal ( ) journal-or-kmsg ( kmsg ) auto ( ) null ( ). $SYSTEMD_LOG_RATELIMIT_KMSG kmsg . . "true". systemd kmsg. $SYSTEMD_PAGER $PAGER --no-pager. $SYSTEMD_PAGER $PAGER. $SYSTEMD_PAGER $PAGER less(1) more(1) . . "cat" --no-pager. : $SYSTEMD_PAGERSECURE $SYSTEMD_PAGER $PAGER ( "cat" "") . $SYSTEMD_LESS less ( "FRSXMK"). : K Ctrl+C. less Ctrl+C . $SYSTEMD_LESS "K" less Ctrl+C . X termcap . . . $LESS less systemd. less(1) . $SYSTEMD_LESSCHARSET less ( "utf-8" UTF-8). $LESSCHARSET less systemd. $SYSTEMD_PAGERSECURE (pager) less(1) "" . sudo(8) pkexec(1) . . " " ( ). " " --no-pager PAGER=cat . . (true) " " . " " LESSSECURE=1 . less(1) " ". false (pager). SYSTEMD_PAGERSECURE=0 . $SYSTEMD_PAGERSECURE systemd " " . " " (UID) geteuid(2) sd_pid_get_owner_uid(3) sudo(8) ($SUDO_UID [2]). SYSTEMD_PAGERSECURE=1 " " . . $SYSTEMD_PAGERSECURE . $SYSTEMD_PAGER $PAGER $SYSTEMD_PAGERSECURE . $SYSTEMD_COLORS (boolean) . ( ) systemd . $COLORTERM "truecolor" "24bit" 24 256 $NO_COLOR $TERM . true $NO_COLOR. false . "16" "256" "24bit" ANSI 16 256 24 . "auto-16" "auto-256" "auto-24bit" $TERM . $SYSTEMD_URLIFY . . systemd $TERM . systemd(1) logind.conf(5) 1. https://systemd.io/INHIBITOR_LOCKS 2. $SUDO_UID . 3 . . : . systemd 260.2 SYSTEMD-INHIBIT(1)