dirio

Crates.iodirio
lib.rsdirio
version0.1.0
created_at2025-04-28 23:13:04.91657+00
updated_at2025-04-28 23:13:04.91657+00
descriptionA simple CLI to track and report disk usage over some subcommand runtime
homepage
repository
max_upload_size
id1652777
size14,970
Noam Teyssier (noamteyssier)

documentation

README

dirio

A simple tool for monitoring disk usage over the runtime of a command.

This expects du to be in your $PATH and evaluates it at a specified interval while a test command is running.

It tracks and reports a TSV of the following:

  1. elapsed time
  2. observed disk usage
  3. disk usage delta (from initial disk usage)
  4. disk usage peak (max observed disk usage over the runtime)

Installation

cargo install dirio

Usage

This monitors the bytes of a directory over the runtime of a command. By default that directory is ./ or the current working directory. You can specify some other directory with the -p flag.

# Monitor disk usage and output to stdout
dirio "fasterq-dump SRR000001 --split-files --include-technical"

# Monitor disk usage and output to some log file
dirio -o dirio.log.tsv "fasterq-dump SRR000001 --split-files --include-technical"
Commit count: 0

cargo fmt