---
title: "How to use eBPF for monitoring Linux thread contention?"
url: https://daily.dev/posts/how-to-use-ebpf-for-monitoring-linux-thread-contention--sye8aryt0
source_url: https://www.linkedin.com/pulse/how-use-ebpf-monitoring-linux-thread-contention-shiv-iyer-wpjdc/
type: article
source: "eBPF"
published: 2024-10-29T11:49:47.844Z
updated: 2024-12-09T11:37:59.315Z
tags: ["devops", "linux"]
reading_time: 4
upvotes: 1
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# How to use eBPF for monitoring Linux thread contention?

**[eBPF](https://daily.dev/sources/ebpf)** · 4 min read · 1 upvotes · 0 comments

## Summary

eBPF (Extended Berkeley Packet Filter) can monitor Linux thread contention by capturing low-level kernel events related to thread scheduling, locking, and waiting conditions. Tools like bcc and bpftrace provide interfaces for using eBPF to track issues like off-CPU time, run queue latency, and lock contention. Example scripts and tools are provided to help diagnose and understand thread contention in production environments.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.linkedin.com/pulse/how-use-ebpf-monitoring-linux-thread-contention-shiv-iyer-wpjdc/>

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 0 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments

---

Tags: [#devops](https://daily.dev/tags/devops), [#linux](https://daily.dev/tags/linux)

[View this post on daily.dev](https://daily.dev/posts/how-to-use-ebpf-for-monitoring-linux-thread-contention--sye8aryt0)
