dusage

Crates.iodusage
lib.rsdusage
version0.3.6
sourcesrc
created_at2022-01-14 12:08:05.210319
updated_at2023-07-07 20:30:20.879504
description💾 A command line disk usage information tool: disk usage (foreground), inodes (background).
homepage
repositoryhttps://github.com/mihaigalos/dusage
max_upload_size
id513839
size37,089
Mihai Galos (mihaigalos)

documentation

README

dusage

CI CD Security Audit crates.io LoC

A command line disk usage information tool.

dusage_disks dusage_inodes

Why?

A better interface for df.

BTW

You might also like musage.

Both can be i.e. automatically executed upon login via ssh to a remote machine by invoking them in the remote's .bashrc or .zshrc.

Features

  • bargraph with disk and inode usage.
    • background: inodes, foreground: disks.
  • grouping of filesystems.
  • separate coloring of /, /boot and /mnt for easy spotting.
  • log2ram filesystem displayed last for easy spotting of log drive usage on Raspberry Pi.
  • display of detailed inode usage (similar to df -i).
  • copy-friendly output (via the --copy-friendly flag:
Filesystem                 Size     Used    Avail   Use%        Disk / INodes Mounted on
/dev/sdb1                  4.6G   270.1M     4.1G     6% â– â– â–¡â–¡â–¡â–¡â–¡â–¡â–¡â–¡â–¡â–¡â–¡â–¡â–¡â–¡â–¡â–¡â–¡â–¡ /boot
/dev/mapper/sdb5_crypt   452.7G   231.6G   198.0G    51% â– â– â– â– â– â– â– â– â– â– â– â–¡â–¡â–¡â–¡â–¡â–¡â–¡â–¡â–¡ /

Installation

Building from source

cargo install dusage

NetBSD (Official repositories)

pkgin install dusage

Or if you prefer to build it from source:

cd /usr/pkgsrc/sysutils/dusage
make install

Using precompiled binaries

Precompiled binaries are available for multiple architectures in Releases.

Commit count: 251

cargo fmt