r/linuxadmin • u/Internal-Cellist-755 • 3d ago
Linux Perf Doctor - Read-only Linux performance diagnostics for AI agents and SRE workflows
Full disclosure: I'm the developer behind this project.
I've been building an open-source project called Linux Perf Doctor.
The idea is to help AI coding assistants and SRE workflows investigate Linux performance problems using actual operating-system telemetry instead of immediately guessing at application-level causes.
Linux Perf Doctor is an Agent Skill that collects and correlates information from Linux interfaces such as /proc, /sys/fs/cgroup, and Pressure Stall Information (PSI).
What it currently supports:
- Host CPU, memory, and system telemetry
- Process-level CPU, RSS, swap, page faults, and context switches
- Linux cgroup v1/v2 analysis
- CPU quota throttling and memory events
- Network socket and block I/O diagnostics
- Optional capability detection for tools such as
perf,strace, andiostat - JSON and Markdown diagnostic reports
One thing I focused on was safety:
The default collection workflow is read-only. It does not invoke sudo or modify kernel parameters. Active profiling with perf and strace requires explicit opt-in and bounded execution.
The project is currently at v1.0.0.
Try it:
npx skills add AnujTiwari-Student/linux-perf-doctor --skill linux-perf-doctorGitHub:
https://github.com/AnujTiwari-Student/linux-perf-doctor
Demo:
https://lnkd.in/p/dRXQRwFk
I'd appreciate feedback from people who work with Linux, containers, DevOps, or performance engineering.
A few things I'd particularly like feedback on:
- What additional Linux performance metrics would you find useful?
- Are the current diagnostic findings and reports actionable enough?
- What would make this more useful for investigating real container or process-level performance problems?
Thanks for checking it out!