systemd-inhibit --version (return code: 0)
systemd 229
+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ -LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN
systemd-inhibit --help (return code: 0)
systemd-inhibit [OPTIONS...] {COMMAND} ...
Execute a process while inhibiting shutdown/sleep/idle.
-h --help Show this help
--version Show package version
--what=WHAT Operations to inhibit, colon separated list of:
shutdown, sleep, idle, handle-power-key,
handle-suspend-key, handle-hibernate-key,
handle-lid-switch
--who=STRING A descriptive string who is inhibiting
--why=STRING A descriptive string why is being inhibited
--mode=MODE One of block or delay
--list List active inhibitors