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 can be used from the command line:

cargo install denet

Or as a python package:

pip install denet

You can find denet in conda-forge:

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

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

Optional features for the Rust binary:

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)

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.1

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.1
File Size Uploaded Provenance Actions
denet-0.11.1.tar.gz 450.4 kB With provenance Details for denet-0.11.1.tar.gz

Built distributions (wheels)

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

Total release size: 3.0 MB

Release files / denet-0.11.1.tar.gz

Download URL denet-0.11.1.tar.gz
Size 450.4 kB
Tags Source
SHA-256 checksum
How to use checksums
22c3d0704691f1cf853b65cb4375127c534176f39fb5b2ded77cd25eba05fa36
BLAKE2b-256 checksum
How to use checksums
4901e09176db719ce45a68e7b9c4ef808e606e2f5deaf24741ac1dfa994f993e
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.1-cp39-abi3-manylinux_2_28_x86_64.whl

Download URL denet-0.11.1-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
c454454395441b6c32bd2322263fa69a410a51c7174d7021e505371c7b475d1f
BLAKE2b-256 checksum
How to use checksums
336bb282309958b0933e541ac4c599955129fd93b33b5fe612ab89ebc7e2593a
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.1-cp39-abi3-macosx_11_0_arm64.whl

Download URL denet-0.11.1-cp39-abi3-macosx_11_0_arm64.whl
Size 569.5 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9d3480f839e796e09bb65344faf8e0a45b56576944b9ca2e3d8ae2a3ddb53755
BLAKE2b-256 checksum
How to use checksums
9e25ab699102289f3c1ef6edae026ecbfaa3eae05b199d005482e5aa7a21c4b5
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.1-cp39-abi3-macosx_10_12_x86_64.whl

Download URL denet-0.11.1-cp39-abi3-macosx_10_12_x86_64.whl
Size 555.1 kB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
6fca70279ddb39ca913c9b44104db60c0920f0c0bb4fa6d0b6609d6482160b6b
BLAKE2b-256 checksum
How to use checksums
5e093613480ac73e3e91739d79859318543ddfea97ba2e4b34538a1669222849
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.1

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.1.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