Package bcc-tools

Command line tools for BPF Compiler Collection (BCC)

https://github.com/iovisor/bcc

System Administration
Command Description
bcc-argdist Trace a function and display a histogram or frequency count of its parameter...
bcc-bashreadline Print entered bash commands system wide. Uses Linux eBPF/bcc.
bcc-biolatency Summarize block device I/O latency as a histogram.
bcc-biosnoop Trace block device I/O and print details incl. issuing PID.
bcc-biotop Block device (disk) I/O by process top.
bcc-bitesize Summarize block device I/O size as a histogram — Linux eBPF/bcc.
bcc-bpflist Display processes currently using BPF programs and maps.
bcc-bps List all BPF programs. 'ps' for BPF programs.
bcc-btrfsdist Summarize btrfs operation latency. Uses Linux eBPF/bcc.
bcc-btrfsslower Trace slow btrfs file operations, with per-event details.
bcc-cachestat Statistics for linux page cache hit/miss ratios. Uses Linux eBPF/bcc.
bcc-cachetop Statistics for linux page cache hit/miss ratios per processes. Uses Linux...
bcc-capable Trace security capability checks (cap_capable()).
bcc-cpudist On- and off-CPU task time as a histogram.
bcc-cpuunclaimed Sample CPU run queues and calculate unclaimed idle CPU. Uses Linux eBPF/bcc.
bcc-dbslower Trace MySQL/PostgreSQL server queries slower than a threshold.
bcc-dbstat Collect histograms of MySQL/PostgreSQL query latencies.
bcc-dcsnoop Trace directory entry cache (dcache) lookups. Uses Linux eBPF/bcc.
bcc-dcstat Directory entry cache (dcache) stats. Uses Linux eBPF/bcc.
bcc-deadlock_detector Find potential deadlocks (lock order inversions) in a running program.
bcc-execsnoop Trace new processes via exec() syscalls. Uses Linux eBPF/bcc.
bcc-ext4dist Summarize ext4 operation latency. Uses Linux eBPF/bcc.
bcc-ext4slower Trace slow ext4 file operations, with per-event details.
bcc-filelife Trace the lifespan of short-lived files. Uses Linux eBPF/bcc.
bcc-fileslower Trace slow synchronous file reads and writes.
bcc-filetop File reads and writes by filename and process. Top for files.
bcc-funccount Count function, tracepoint, and USDT probe calls matching a pattern. Uses Linux...
bcc-funclatency Time functions and print latency as a histogram.
bcc-funcslower Trace slow kernel or user function calls.
bcc-gethostlatency Show latency for getaddrinfo/gethostbyname[2] calls. Uses Linux eBPF/bcc.
bcc-hardirqs Measure hard IRQ (hard interrupt) event time. Uses Linux eBPF/bcc.
bcc-inject injects appropriate error into function if input call chain and predicates are...
bcc-killsnoop Trace signals issued by the kill() syscall. Uses Linux eBPF/bcc.
bcc-llcstat Summarize CPU cache references and misses by process. Uses Linux eBPF/bcc.
bcc-mdflush Trace md flush events. Uses Linux eBPF/bcc.
bcc-memleak Print a summary of outstanding allocations and their call stacks to detect...
bcc-mountsnoop Trace mount() and umount() syscalls. Uses Linux eBPF/bcc.
bcc-mysqld_qslower Trace MySQL server queries slower than a threshold.
bcc-nfsdist Summarize NFS operation latency. Uses Linux eBPF/bcc.
bcc-nfsslower Trace slow NFS file operations, with per-event details.
bcc-offcputime Summarize off-CPU time by kernel stack trace. Uses Linux eBPF/bcc.
bcc-offwaketime Summarize blocked time by off-CPU stack + waker stack. Uses Linux eBPF/bcc.
bcc-oomkill Trace oom_kill_process(). Uses Linux eBPF/bcc.
bcc-opensnoop Trace open() syscalls. Uses Linux eBPF/bcc.
bcc-pidpersec Count new processes (via fork()). Uses Linux eBPF/bcc.
bcc-profile Profile CPU usage by sampling stack traces. Uses Linux eBPF/bcc.
bcc-reset-trace reset the state of tracing.
bcc-runqlat Run queue (scheduler) latency as a histogram.
bcc-runqlen Scheduler run queue length as a histogram.
bcc-runqslower Trace long process scheduling delays.
bcc-slabratetop Kernel SLAB/SLUB memory cache allocation rate top. Uses Linux BPF/bcc.
bcc-softirqs Measure soft IRQ (soft interrupt) event time. Uses Linux eBPF/bcc.
bcc-sslsniff Print data passed to OpenSSL. Uses Linux eBPF/bcc.
bcc-stackcount Count function calls and their stack traces. Uses Linux eBPF/bcc.
bcc-statsnoop Trace stat() syscalls. Uses Linux eBPF/bcc.
bcc-syncsnoop Trace sync() syscall. Uses Linux eBPF/bcc.
bcc-syscount Summarize syscall counts and latencies.
bcc-tcpaccept Trace TCP passive connections (accept()). Uses Linux eBPF/bcc.
bcc-tcpconnect Trace TCP active connections (connect()). Uses Linux eBPF/bcc.
bcc-tcpconnlat Trace TCP active connection latency. Uses Linux eBPF/bcc.
bcc-tcpdrop Trace kernel-based TCP packet drops with details. Uses Linux eBPF/bcc.
bcc-tcplife Trace TCP sessions and summarize lifespan. Uses Linux eBPF/bcc.
bcc-tcpretrans Trace or count TCP retransmits and TLPs. Uses Linux eBPF/bcc.
bcc-tcpstates Trace TCP session state changes with durations. Uses Linux eBPF/bcc.
bcc-tcpsubnet Summarize and aggregate IPv4 TCP traffic by subnet.
bcc-tcptop Summarize TCP send/recv throughput by host. Top for TCP.
bcc-tcptracer Trace TCP established connections. Uses Linux eBPF/bcc.
bcc-tplist Display kernel tracepoints or USDT probes and their formats.
bcc-trace Trace a function and print its arguments or return value, optionally evaluating...
bcc-ttysnoop Watch output from a tty or pts device. Uses Linux eBPF/bcc.
bcc-ucalls Summarize method calls from high-level languages and Linux syscalls.
bcc-uflow Print a flow graph of method calls in high-level languages.
bcc-ugc Trace garbage collection events in high-level languages.
bcc-uobjnew Summarize object allocations in high-level languages.
bcc-ustat Activity stats from high-level languages.
bcc-uthreads Trace thread creation events in Java or pthreads.
bcc-vfscount Count VFS calls ("vfs_*"). Uses Linux eBPF/bcc.
bcc-vfsstat Statistics for some common VFS calls. Uses Linux eBPF/bcc.
bcc-wakeuptime Summarize sleep to wakeup time by waker kernel stack. Uses Linux eBPF/bcc.
bcc-xfsdist Summarize XFS operation latency. Uses Linux eBPF/bcc.
bcc-xfsslower Trace slow xfs file operations, with per-event details.
bcc-zfsdist Summarize ZFS operation latency. Uses Linux eBPF/bcc.
bcc-zfsslower Trace slow zfs file operations, with per-event details.