Skip to content

Services

Tools for inspecting systemd services.

Remote execution

All tools on this page accept an optional host parameter (string) to execute the command on a remote machine via SSH instead of locally. See SSH Configuration for details.

get_service_logs

Get recent logs for a specific systemd service.

Parameters:

  • service_name (string, required): Name of the systemd service
  • lines (integer, default: 50): Number of log lines to retrieve. [min: 1, max: 10000]

get_service_status

Get detailed status of a specific systemd service.

Parameters:

  • service_name (string, required): Name of the systemd service

list_services

List all systemd services.