87 views
Как посмотреть статус системного сервиса в Linux?
Asked at
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.
Also asked at Касперский
Similar questions
- What commands and approaches do you use for working with processes in Linux?
- Explain what the system load average in Linux means and how it is calculated
- Are you familiar with Linux commands?
- How can you obtain a list of all user accounts, including system and hidden ones, in a Linux system?
- Name five Linux commands of three letters.