status and is-active
#Read a service summary and get a concise active-state result.
systemctl status demo-worker.service --no-pager
systemctl is-active demo-worker.servicePractical useInspect a demo worker before attempting a repair.
Common mistakesstatus can return a nonzero code for inactive units. active does not prove the application is healthy.
Source: www.freedesktop.org documentation (1) · github.com documentation (2)