Stream recent logs from systemd journal
Stream recent logs from systemd journal
Stream recent logs from the systemd journal. View logs by service unit, control line count, and optionally follow in real time.
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
---
name: log-tail
description: "Stream recent logs from systemd journal"
metadata:
{
"openclaw":
{
"emoji": "📜",
"requires": { "bins": ["journalctl"] },
"install": [],
},
}
---
# Log Tail
Stream recent logs from the systemd journal. View logs by service unit, control line count, and optionally follow in real time.
## Commands
```bash
# Show recent journal logs (default: 50 lines)
log-tail [--unit <service>] [--lines 50]
# Follow logs for a specific service in real time
log-tail --follow <service>
```
## Install
No installation needed. `journalctl` is always present on systemd-based systems like Bazzite/Fedora.
文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。