NewWork mode: your Claude Code or Codex on work calls, answering from your project's codeSkip to content
Middle+87 views

Как посмотреть статус системного сервиса в Linux?

Practice

AI answer

For a systemd service, use:

systemctl status service-name

For example: systemctl status nginx. To check the status without details, run systemctl is-active nginx; to view the service logs, use journalctl -u nginx. System services usually require sudo if the current user does not have the necessary access.