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 codecov Ruff License: GPL v3

Installation

pip install denet    # Python package
cargo install denet  # Rust binary

Or install the conda package from the almost-conductor channel:

# pixi
pixi workspace channel add https://prefix.dev/almost-conductor
pixi add denet
# conda
conda install -c https://prefix.dev/almost-conductor denet

Optional features for the Rust binary:

cargo install denet --features gpu   # NVIDIA GPU monitoring (requires drivers; 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

# 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

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.10.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.10.0
File Size Uploaded
denet-0.10.0.tar.gz 400.1 kB Details

Built distributions (wheels)

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

Total release size: 2.7 MB

Release files / denet-0.10.0.tar.gz

Download URL denet-0.10.0.tar.gz
Size 400.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7a6b19547da434fdc951e7ad1643f6cf45944ccf8b9f3b77f40e3974d97d830a
BLAKE2b-256 checksum
How to use checksums
ccafce7403cf17ca8fb5f53cd2500e7595aa0c8c61c7443837a24a249815cc85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 26, 2026.

Transparency log

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

Download URL denet-0.10.0-cp39-abi3-manylinux_2_28_x86_64.whl
Size 1.2 MB
Tags CPython 3.9 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
095715f8f263e12bb004dd703e36ff7d7cfcf728d5f2517dab60c1e169e63c39
BLAKE2b-256 checksum
How to use checksums
0754a0402733f740e2af3d7a707d4c65108526ea1a2d9d3296eb2415a950d6d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 26, 2026.

Transparency log

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

Download URL denet-0.10.0-cp39-abi3-macosx_11_0_arm64.whl
Size 511.7 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
73341153571f3ccd430549a7614f2936831f4241821c1c847de0e8332c55b68a
BLAKE2b-256 checksum
How to use checksums
138c3f49025ef456d819291e926d56ff819d9f712a0edab3e6eab20c594d5f0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 26, 2026.

Transparency log

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

Download URL denet-0.10.0-cp39-abi3-macosx_10_12_x86_64.whl
Size 518.6 kB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
69dcd2fad8d425ac9ab32d64f07792fcaa91e7fe5315bbebb35ea67314506033
BLAKE2b-256 checksum
How to use checksums
496c24130013164388dead67cc84cb16925d0a8a75eee178c1aa5db0c3f86d4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 26, 2026.

Transparency log

Release history Release notifications | RSS feed

0.10.3

4 release files

0.10.2

4 release files

0.10.1

4 release files

This release

0.10.0 This release

4 release files

0.9.1

4 release files

0.9.0

4 release files

0.8.0

4 release files

0.7.2

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.4.2

3 release files

0.4.1

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.2.1

2 release files

0.1.0

2 release files

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