Skip to main content
Glama

get_service_logs

Retrieve recent systemd service logs to diagnose issues, monitor service behavior, and troubleshoot problems on Linux systems.

Instructions

Get recent logs for a specific systemd service.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
service_nameYesName of the systemd service
linesNoNumber of log lines to retrieve.
hostNoRemote host to connect to via SSH

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/rhel-lightspeed/linux-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server