Skip to main content

denet: a streaming process monitor

denet /de.net/ v. 1. Turkish: to monitor, to supervise, to audit. 2. to track metrics of a running process.

Denet is a lightweight streaming process monitor. It tracks CPU, memory, I/O, and threads for a running process (and its children), with adaptive sampling and optional GPU / eBPF support.

docs PyPI version Crates.io conda-forge codecov Ruff License: GPL v3 DOI

Installation

denet is primarily used as a CLI tool.

With Cargo

You can compile it yourself with cargo:

cargo install denet

And enable some optional features:

cargo install denet --features gpu       # GPU monitoring: NVIDIA (requires drivers) or Apple Silicon (experimental); enable per run with --gpu
cargo install denet --features ebpf      # eBPF profiling (Linux only, requires clang)
cargo install denet --features gpu,ebpf  # both: each install replaces the previous one

Debian-based

On Debian 12+ and Ubuntu 22.04+, download the .deb from the latest release and sudo apt install ./denet_*_amd64.deb. It includes GPU and eBPF support.

RHEL-based

On RHEL, Rocky and AlmaLinux 8+ and Fedora, download the .rpm from the latest release and sudo dnf install ./denet-*.x86_64.rpm. It also includes GPU and eBPF support.

Static binary

On any other Linux (x86_64 or aarch64), there is a static binary with eBPF support but no GPU support:

VERSION=0.11.3 # x-release-please-version
curl -L -o denet "https://github.com/btraven00/denet/releases/download/v$VERSION/denet-$VERSION-$(uname -m)-linux-musl"
chmod +x denet

Nix

With Nix, run a release straight from the flake: nix run github:btraven00/denet/v0.11.3 -- --help.

Conda

Conda users can use conda-forge:

pixi add denet                        # pixi
conda install -c conda-forge denet    # conda

As a python package

You can install the python package from pypi to write your custom scripts. It is a library: it does not install the denet command.

pip install denet

The report extra adds the denet-report command, which turns a saved run into an HTML report with timelines:

pip install 'denet[report]'

Usage

# Run a command and monitor it
denet run python train.py

# Attach to an existing process
denet attach 1234

# Watch it live: full-screen graphs of CPU, memory, disk and TCP (add --gpu for GPU)
denet --tui run python train.py

# Save metrics as JSONL
denet --json --out metrics.jsonl run python train.py

# Turn a saved run into a report (timelines, regime detection, eBPF syscalls)
pip install 'denet[report]'
denet-report metrics.jsonl -o report.html

CPU usage follows the top convention: 100% = one fully utilized core, so a 4-core workload shows 400%.

Sampling starts at 100 ms and ramps up to 1 s after 10 s of runtime (adaptive). Override with -i / -m:

denet -i 50 -m 500 run python train.py

Further reading

Full documentation: https://btraven00.github.io/denet/

Topic Doc
Python API (ProcessMonitor, execute_with_monitoring, analysis) docs/python-api.md
HTML/PNG/SVG reports (denet-report) docs/python-api.md#reports
GPU monitoring GPU guide
eBPF profiling (off-CPU, syscall tracking) eBPF guide
Disk I/O metrics and how to interpret them docs/disk-io.md
Output data format docs/data-format.md
Development setup docs/dev.md
Worked example: a Snakemake workflow profiled end to end btraven00/denet_example

License

GPL-3

Acknowledgements

  • sysinfo - Rust library for system information
  • PyO3 - Rust bindings for Python
  • aya - Rust library for eBPF programs

Metadata

Release files for denet 0.11.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for denet 0.11.3
File Size Uploaded Provenance Actions
denet-0.11.3.tar.gz 429.4 kB With provenance Details for denet-0.11.3.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for denet 0.11.3
File Interpreter ABI Platform Actions
denet-0.11.3-cp39-abi3-manylinux_2_28_x86_64.whl CPython 3.9 abi3 Linux glibc 2.28+ x86-64 Details for denet-0.11.3-cp39-abi3-manylinux_2_28_x86_64.whl
denet-0.11.3-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for denet-0.11.3-cp39-abi3-macosx_11_0_arm64.whl
denet-0.11.3-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details for denet-0.11.3-cp39-abi3-macosx_10_12_x86_64.whl

Total release size: 2.9 MB

Release files / denet-0.11.3.tar.gz

Download URL denet-0.11.3.tar.gz
Size 429.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f9b6c24d840a42e57901ceb88d4547ce7614f8155616bbe29051f6d898a70519
BLAKE2b-256 checksum
How to use checksums
4b3ddcd9914e1e1400e39aebf1f14cb5f03fe021cec6747f4685852eabbdbcdb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Release files / denet-0.11.3-cp39-abi3-manylinux_2_28_x86_64.whl

Download URL denet-0.11.3-cp39-abi3-manylinux_2_28_x86_64.whl
Size 1.3 MB
Tags CPython 3.9 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
cc67e1bd3036f17d13e1a4dbca3316cceaa47b5f5191c9ca25b334ae36b42ca6
BLAKE2b-256 checksum
How to use checksums
4c35cdc5d3071fed605d78197ebfa08041130f38a5897b858c3bdba6b1877aa7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Release files / denet-0.11.3-cp39-abi3-macosx_11_0_arm64.whl

Download URL denet-0.11.3-cp39-abi3-macosx_11_0_arm64.whl
Size 570.2 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
17fbf8c1600363294c8a22a52f1f8cf563e477eb097787e987ad305fc7f6f375
BLAKE2b-256 checksum
How to use checksums
a1554ee41f28c0763ec37dc48ccde123fd936ca0eb0ae74c4204d235c1adebe0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Release files / denet-0.11.3-cp39-abi3-macosx_10_12_x86_64.whl

Download URL denet-0.11.3-cp39-abi3-macosx_10_12_x86_64.whl
Size 555.9 kB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
3cf783c9fe8ab05eb4bc72075cb7fef3944a36c7dbfa210c66db8b88003e1559
BLAKE2b-256 checksum
How to use checksums
cab2398858ce66dbff8332bfb802394053540f145ce09ad5314476d701e533b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Security for denet 0.11.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for denet-0.11.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page