...
Пример вывода команды:
| Блок кода |
|---|
$ sudo systemctl status rbta-ekb-lt-123456.astralinux.ru State: degraded Units: 523 loaded (incl. loaded aliases) Jobs: 0 queued Failed: 4 units Since: Tue 2025-08-05 08:50:54 +05; 7h ago systemd: 252.17-1~deb12u1astra.se3+ci2 CGroup: / ├─1454 /opt/kaspersky/kesl/libexec/kesl ├─init.scope │ └─1 /sbin/init splash ├─system.slice │ ├─ModemManager.service │ │ ├─1334 /usr/sbin/ModemManager │ │ └─2478 /usr/libexec/mbim-proxy │ ├─NetworkManager.service │ │ ├─2071 /usr/sbin/NetworkManager --no-daemon │ │ ├─7647 /usr/lib/NetworkManager/nm-openconnect-service --bus-name org.freedesktop.NetworkManager.openconnect.Connection_4 │ │ └─7737 /usr/sbin/openconnect --servercert pin-sha256:qTme6hdkT1xgmWjngi0kAL8AShIN2kAn5CfzpT/I/rI= --syslog --cookie-on-s> │ ├─accounts-daemon.service │ │ └─1647 /usr/libexec/accounts-daemon │ ├─acpid.service │ │ └─1235 /usr/sbin/acpid │ ├─assistant.service │ │ ├─ 2902 /opt/assistant/bin/asts │ │ ├─ 5642 sudo -u root -H /opt/assistant/bin/astrct -ISS:1 -PID:2902 -PIPE:/tmp/assistant/pipes/28CDA78A75FA4537BC586BE86> │ │ ├─ 5654 /opt/assistant/bin/astrct -ISS:1 -PID:2902 -PIPE:/tmp/assistant/pipes/28CDA78A75FA4537BC586BE86F7CEB2E_63A9F0EA> │ │ ├─ 6081 sudo -u sbutakov -H /opt/assistant/bin/astrct -ISS:1 -PID:2902 -PIPE:/tmp/assistant/pipes/28CDA78A75FA4537BC586> │ │ ├─ 6083 /opt/assistant/bin/astrct -ISS:1 -PID:2902 -PIPE:/tmp/assistant/pipes/28CDA78A75FA4537BC586BE86F7CEB2E_A92E540C> │ │ └─114451 ps ax -o stat,comm │ ├─astra-event-diagnostics-healthcheck.service │ │ └─4711 /usr/bin/python3 /usr/bin/astra-event-diagnostics --healthcheck -c /etc/astra-event-diagnostics/astra-event-diagn> │ ├─auditd.service |
...
где <unit_name> – название юнита.
Пример вывода команды "sudo systemctl status sshd":
:
| Блок кода |
|---|
$ sudo systemctl status sshd
|
| Блок кода |
systemctl status sshd ● ssh.service - OpenBSD Secure Shell server Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2025-08-04 08:10:10 MSK; 8h ago Docs: man:sshd(8) man:sshd_config(5) Main PID: 1242 (sshd) Tasks: 1 (limit: 2239) Memory: 1.2M CPU: 15ms CGroup: /system.slice/ssh.service └─1242 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups авг 04 08:10:10 alse-vanilla-gui sshd[1242]: Server listening on 0.0.0.0 port 22. авг 04 08:10:10 alse-vanilla-gui sshd[1242]: Server listening on :: port 22. авг 04 08:10:10 alse-vanilla-gui systemd[1]: Starting OpenBSD Secure Shell server... авг 04 08:10:10 alse-vanilla-gui systemd[1]: Started OpenBSD Secure Shell server. |
где
Журналы работы
системные журналы
...