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.

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.2 # 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.2 -- --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

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 docs/gpu.md
eBPF profiling (off-CPU, syscall tracking) docs/ebpf.md
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.2

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.2
File Size Uploaded Provenance Actions
denet-0.11.2.tar.gz 456.6 kB With provenance Details for denet-0.11.2.tar.gz

Built distributions (wheels)

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

Total release size: 3.0 MB

Release files / denet-0.11.2.tar.gz

Download URL denet-0.11.2.tar.gz
Size 456.6 kB
Tags Source
SHA-256 checksum
How to use checksums
05805701393ccc78409b12016bfbf68121ef3fdb67bbe977d71058f12bc56861
BLAKE2b-256 checksum
How to use checksums
5eee34e3d3d3e147cd7bcaed799db9f56aaa36962eabf26f05b3bc264e677e85
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 16, 2026.

Transparency log

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

Download URL denet-0.11.2-cp39-abi3-manylinux_2_28_x86_64.whl
Size 1.4 MB
Tags CPython 3.9 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
c0ff760ad84c17ee123eb1d912556e0c8c73d7710e36c259ad045b9b60142402
BLAKE2b-256 checksum
How to use checksums
33dfe39dfd14c3af12f069438dfb42d3e03540d5f9075d0d78a0bf4f5af5e05e
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 16, 2026.

Transparency log

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

Download URL denet-0.11.2-cp39-abi3-macosx_11_0_arm64.whl
Size 570.0 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
10a5ce741f59afa4c15289c5484843d98bd147d9495c05813884677ea273bccb
BLAKE2b-256 checksum
How to use checksums
079f61b19aafc8a2a95e97e8e382ab4234c2bc5399cf2f0b8305b85d824a9cfa
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 16, 2026.

Transparency log

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

Download URL denet-0.11.2-cp39-abi3-macosx_10_12_x86_64.whl
Size 555.6 kB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
e01dc4a553757e4f1c2fe0b2b31e7870ce5611d53311b94c21e13bc17542e98a
BLAKE2b-256 checksum
How to use checksums
cf2792e032985f45a2a00ec13f12c785470937e7b1c7be86b01f263367d39300
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 16, 2026.

Transparency log

Security for denet 0.11.2

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.2.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 16, 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