/linux-desktop-mgmt:logging-analyze-journal-errorsfrom linux-desktop-mgmt
You are helping the user parse systemd journal logs to identify recent errors and issues.
Claude never picks this command on its own
Its frontmatter has no description. Without a description, Claude Code leaves it out of the list Claude chooses from. Typing /linux-desktop-mgmt:logging-analyze-journal-errors still runs it.
You are helping the user parse systemd journal logs to identify recent errors and issues.
Check recent errors from current boot:
# Errors from current boot
journalctl -b -p err
# Errors and warnings
journalctl -b -p warning
# Critical and alert level messages
journalctl -b -p crit
Show errors from specific time periods:
# Last hour
journalctl --since "1 hour ago" -p err
# Last 24 hours
journalctl --since "24 hours ago" -p err
# Specific date range
journalctl --since "2025-10-25" --until "2025-10-26" -p err
# Last 100 error entries
journalctl -p err -n 100
Group errors by service/unit:
# List units with failures
systemctl --failed
# Errors from specific service
journalctl -u SERVICE_NAME -p err
# Common problematic services
journalctl -u NetworkManager -p err
journalctl -u systemd-resolved -p err
journalctl -u bluetooth -p err
Analyze error frequency:
# Count errors by message
journalctl -b -p err --no-pager | grep -oP '(?<=: ).*' | sort | uniq -c | sort -rn | head -20
# Errors per unit
journalctl -b -p err --no-pager | grep -oP '\w+\.service' | sort | uniq -c | sort -rn
Check for kernel errors:
# Kernel errors
journalctl -k -p err
# Segfaults
journalctl | grep -i "segfault"
# OOM killer events
journalctl | grep -i "killed process"
Find patterns and recurring issues:
# I/O errors
journalctl -b | grep -i "i/o error"
# Disk errors
journalctl -b | grep -i "ata.*error"
# Network errors
journalctl -b | grep -i "network.*error\|dhcp.*fail"
# GPU/graphics errors
journalctl -b | grep -i "amdgpu\|drm.*error"
Export error summary:
# Save errors to file for analysis
journalctl -b -p err --no-pager > /tmp/system-errors-$(date +%Y%m%d).log
# Create error report
cat > /tmp/error-report.txt << EOF
System Error Report - $(date)
======================================
Failed Services:
$(systemctl --failed --no-pager)
Recent Errors (last 24h):
$(journalctl --since "24 hours ago" -p err --no-pager | tail -50)
Error Summary by Service:
$(journalctl -b -p err --no-pager | grep -oP '\w+\.service' | sort | uniq -c | sort -rn)
EOF
cat /tmp/error-report.txt
Provide:
NetworkManager errors:
Bluetooth errors:
sudo systemctl restart bluetoothdmesg | grep -i bluetoothDisk errors:
/check-disk-errorsfsckGPU errors:
systemd-resolved errors:
/etc/systemd/resolved.confIf requested:
journalctl --list-bootsjournalctl -b -p err --output=short-monotonicjournalctl -b -p err -o json--no-pager for scripting and pipingjournalctl --disk-usage/var/log/journal/journalctl --vacuum-time=30dWhat the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
Generated from the plugin's indexed repository (danielrosehill/linux-desktop-plugin) — no native marketplace selected
npx claudepluginhub p/danielrosehill-linux-desktop-mgmt275 commands in this plugin
/add-bash-aliasAdd Bash AliasI would like to add a bash alias. I will provide the alias or ask for your suggestions as to an appropriate alias./ai-clisAi ClisPlease suggest some AI related CLIs that I may wish to consider installing on this computer, a Linux desktop./ai-cli-seeders-ai-clisAi Cli Seeders Ai ClisPlease suggest some AI related CLIs that I may wish to consider installing on this computer, a Linux desktop.Other plugins' commands for the same job