memleak-investigate

Community

Diagnose Linux memory leaks.

Authorrahulrajaram
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a systematic approach to identifying and diagnosing memory leaks in Linux processes, helping to resolve issues like high memory usage, OOM errors, and system instability.

Core Features & Use Cases

  • Multi-Phase Investigation: Progresses from safe /proc inspection to advanced eBPF tracing.
  • Diagnostic Tools: Leverages ps, free, maps, smaps, gdb, and bpftrace for deep analysis.
  • Use Case: When a critical service's memory consumption steadily increases over days, leading to performance degradation, this Skill can pinpoint the exact cause and location of the leak.

Quick Start

Investigate memory leaks for the process with PID 12345.

Dependency Matrix

Required Modules

bpftracegdbprocpsbinutils

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: memleak-investigate
Download link: https://github.com/rahulrajaram/rahulskills/archive/main.zip#memleak-investigate

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.