LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

systemctl-status

Show runtime status of units

TLDR

Show the status of a systemd unit
$ systemctl status [unit].service
copy
Show system overview status
$ systemctl status
copy
Show status of multiple units
$ systemctl status [unit1] [unit2]
copy
Show status by PID
$ systemctl status [pid]
copy
Show status with more journal lines
$ systemctl status -n [50] [unit]
copy
Show the status of a user unit
$ systemctl status --user [unit]
copy

SYNOPSIS

systemctl [OPTIONS...] status [PATTERN...|PID...]

DESCRIPTION

systemctl status displays the current state of systemd units including services, sockets, targets, and timers. It shows whether units are active, enabled, or have failed, along with recent log entries from the journal.Without arguments, it shows an overview of system state. With a unit name, it provides detailed status including the main PID, memory usage, control group, and recent log lines.

PARAMETERS

--user

Query user service manager instead of system
-n, --lines=NUM
Number of journal lines to show
-o, --output=MODE
Journal output mode (short, verbose, json, etc.)
--no-pager
Do not pipe output to pager
-l, --full
Do not ellipsize unit names, process tree entries, or journal output

SEE ALSO

Copied to clipboard
Kai