Diagnose why a Linux server is slow by tracing which kernel functions consume the most CPU time.
Track which processes are opening files and accessing the disk to identify unexpected I/O patterns.
Monitor network connections in real time to see where traffic is going without installing agents.
Investigate performance regressions on production servers without restarting or modifying the kernel.
Requires Linux kernel with eBPF support, specific kernel headers, and LLVM/Clang toolchain; non-Linux systems cannot run this.
BCC (BPF Compiler Collection) is a toolkit for Linux that lets you write small programs that run safely inside the operating system kernel to observe what the system is doing in real time. The technology it builds on is called eBPF (extended Berkeley Packet Filters), a feature of modern Linux that lets you attach custom monitoring code to specific points in the kernel without modifying or rebooting the system and without risking crashes. In practical terms, BCC makes it possible to answer deep diagnostic questions about a running Linux server: Which processes are opening which files? What is causing disk I/O latency? How much CPU time is spent in which kernel functions? Where are network connections going? You write a small program, run it, and get immediate visibility into system internals that would otherwise require kernel expertise or specialized hardware. BCC is mainly used by systems engineers and performance analysts who are investigating performance problems or unexpected behavior on Linux servers. It includes dozens of ready-made tools you can run directly, plus a framework for writing your own. The toolkit is written in C at the kernel level, with Python and Lua available as the front-end scripting languages for writing analysis programs. It requires Linux 4.1 or above.
Generated 2026-05-18 · Model: sonnet-4-6 · Verify against the repo before relying on details.