← 返回命令列表

Linux command

systemctl-is-system-running 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Example

systemctl is-system-running

Quiet

systemctl is-system-running -q

Wait

systemctl is-system-running --wait

说明

systemctl is-system-running checks the overall operational state of the system. It reports whether the system has finished booting and whether all units are functioning properly. Possible states: initializing, starting, running, degraded, maintenance, stopping, offline, unknown. "Running" indicates successful boot with all units healthy.

参数

-q, --quiet
Suppress output, return only exit code
--wait
Wait until boot process is completed before returning

FAQ

What is the systemctl-is-system-running command used for?

systemctl is-system-running checks the overall operational state of the system. It reports whether the system has finished booting and whether all units are functioning properly. Possible states: initializing, starting, running, degraded, maintenance, stopping, offline, unknown. "Running" indicates successful boot with all units healthy.

How do I run a basic systemctl-is-system-running example?

Run `systemctl is-system-running` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -q, --quiet do in systemctl-is-system-running?

Suppress output, return only exit code