Get service status
get_service_statusCheck the detailed status of a systemd service on a local or remote Linux host to identify whether it is running, failed, or inactive.
Instructions
Get detailed status of a specific systemd service.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Remote host to connect to via SSH | |
| service_name | Yes | Name of the systemd service |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |