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 it straight from the flake: nix run github:btraven00/denet -- --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.0

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.0
File Size Uploaded Provenance Actions
denet-0.11.0.tar.gz 449.9 kB With provenance Details for denet-0.11.0.tar.gz

Built distributions (wheels)

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

Total release size: 2.9 MB

Release files / denet-0.11.0.tar.gz

Download URL denet-0.11.0.tar.gz
Size 449.9 kB
Tags Source
SHA-256 checksum
How to use checksums
51fd7403e1fa632d80e00e561a645778861e954394637f4b384506b0367e663a
BLAKE2b-256 checksum
How to use checksums
9cec590e8fbccbdd569ddac407791e64cb8b799342e9649a9d1e849d2a3e4721
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.0-cp39-abi3-manylinux_2_28_x86_64.whl

Download URL denet-0.11.0-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
d5262ef79ca86d3ea592c82daeadbaa4c967e13496095b9dc23754ec8a10ce2c
BLAKE2b-256 checksum
How to use checksums
4107147daca6f2a560ebaeaad3ddbe91e36daa0a8d53539d7020ba235316ba25
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.0-cp39-abi3-macosx_11_0_arm64.whl

Download URL denet-0.11.0-cp39-abi3-macosx_11_0_arm64.whl
Size 569.0 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f6e7aba717c02767e52f62ba9e88941f3abf021033e48c493bd0510596aca362
BLAKE2b-256 checksum
How to use checksums
a1f34a2e34eb8a7c7935aac908d77895a76c418c9a1ed9d6ff8c4537ede14e83
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.0-cp39-abi3-macosx_10_12_x86_64.whl

Download URL denet-0.11.0-cp39-abi3-macosx_10_12_x86_64.whl
Size 555.2 kB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
72f8cdbd8d34b1f8558b9e13dc88a29e407684f8f119918325bf34f72eccb6fc
BLAKE2b-256 checksum
How to use checksums
72600526a7e7a8acf54d810c466e8dab8aceadc6034fb354973970b777b552d1
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.0

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