denet:面向生物信息学基准测试的轻量级命令行进程监控工具
denet , a lightweight command-line tool for process monitoring in bioinformatics benchmarking and beyond
denet 是一款轻量级进程监控工具,可实时分析运行中进程的 CPU、内存、磁盘 I/O、网络活动和线程使用情况,并支持递归监控子进程与自适应采样率。该工具提供带彩色输出的 CLI 和 Python API 两种接口,输出为 JSONL 格式,每条记录包含性能指标与进程元数据(PID 及所执行的命令)。denet 以 Rust 实现,通过 maturin 提供 Python 绑定,可从 Cargo(cargo install denet)、PyPI(pip install denet)或 conda-forge 安装,采用 GPLv3 开源许可。
来源:Bioinformatics Advances · doi.org
Summary
denet is a lightweight process monitoring tool providing real-time resource profiling of running processes. It reports CPU, memory, disk I/O, network activity, and thread usage, including recursive child monitoring, with adaptive sampling rates. denet exposes two interfaces: a CLI with colorized output and a Python API. Output format is JSONL. Each record carries performance metrics and process metadata (PID and the executed command). Structured output makes denet suitable for benchmarking and tuning data-intensive pipelines in bioinformatics and beyond. We provide CLI and API examples, including a bioinformatics workflow in Snakemake, showcasing denet’s diagnostic properties.
Availability and implementation
denet is open-source software released under the GPLv3 terms, and maintained at https://github.com/btraven00/denet. It is implemented in Rust, with Python bindings provided via maturin, and installs from Cargo (cargo install denet), PyPI (pip install denet) or conda-forge. Most functionality does not require administrative privileges, enabling use on cloud platforms, HPC clusters, and standard Linux workstations.