iotree 0.1.2

A command-line tool to monitor disk I/O statistics in a tree view
iotree-0.1.2 is not a library.

iotree

A command-line tool to monitor disk I/O statistics in a tree view format.

Features

  • Display disk I/O statistics in a hierarchical tree view
  • Filter specific devices to monitor
  • Configurable sampling interval
  • Real-time updates
  • Human-readable units (KiB, MiB, GiB)

Installation

cargo install iotree

Usage

# Monitor all devices with default 1-second interval
iotree

# Monitor specific devices with custom interval
iotree -d sda nvme0n1 -x 2

# Monitor specific devices (space-separated)
iotree -d sda nvme0n1

Output Format

The output shows the following metrics for each device:

  • R_IO/s: Read I/O operations per second
  • R_BW/s: Read bandwidth per second
  • R_LAT: Average read latency
  • R_SZ: Average read size
  • W_IO/s: Write I/O operations per second
  • W_BW/s: Write bandwidth per second
  • W_LAT: Average write latency
  • W_SZ: Average write size
  • QD: Queue depth

Requirements

  • Linux operating system
  • lsblk command available in PATH

License

This project is licensed under the MIT License - see the LICENSE file for details.