Service status
service_statusInspect a systemd unit's load state, active status, main process, last result, restart count, and activation time to diagnose Linux service health.
Instructions
The state of one systemd unit, from systemctl show: whether it is loaded, active, its main process, last result, restart count and when it became active. A bare name such as nginx means nginx.service.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | Yes | a systemd unit name such as nginx or nginx.service (letters, digits and : _ . @ - only) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | Yes | ||
| found | Yes |