HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

systemctl is-system-running — Check the current state of the system. More information: <https://www.freedesktop.org/software/syste

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecurrentcommandstateclichecksystemctl is-system-running
linux

Problem

How to use the systemctl is-system-running command: Check the current state of the system. More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#is-system-running>.

Solution

systemctl is-system-running — Check the current state of the system. More information: <https://www.freedesktop.org/software/systemd/man/latest/systemctl.html#is-system-running>.

Check whether the system is operational and print the current state:
systemctl is-system-running


Check and print the current state quietly (no output, only exit status):
systemctl is-system-running {{[-q|--quiet]}}


Wait until the boot process is completed before printing the current state:
systemctl is-system-running --wait

Code Snippets

Check whether the system is operational and print the current state

systemctl is-system-running

Check and print the current state quietly (no output, only exit status)

systemctl is-system-running {{[-q|--quiet]}}

Wait until the boot process is completed before printing the current state

systemctl is-system-running --wait

Context

tldr-pages: linux/systemctl is-system-running

Revisions (0)

No revisions yet.