All Projects → muesli → Duf

muesli / Duf

Licence: mit
Disk Usage/Free Utility - a better 'df' alternative

Programming Languages

go
31211 projects - #10 most used programming language
Roff
2310 projects

Projects that are alternatives of or similar to Duf

Persepolis
Persepolis Download Manager is a GUI for aria2.
Stars: ✭ 5,218 (-27.93%)
Mutual labels:  hacktoberfest, freebsd, openbsd
Postinstall
💻 Bash Script to automate post-installation steps
Stars: ✭ 104 (-98.56%)
Mutual labels:  hacktoberfest, freebsd, openbsd
opengnb
GNB is open source de-centralized VPN to achieve layer3 network via p2p with the ultimate capability of NAT Traversal.GNB是一个开源的去中心化的具有极致内网穿透能力的通过P2P进行三层网络交换的VPN。
Stars: ✭ 440 (-93.92%)
Mutual labels:  freebsd, openbsd
uapi
Unix API
Stars: ✭ 18 (-99.75%)
Mutual labels:  freebsd, openbsd
Ecominit
eComInit is a free init system and service manager designed to scale from lightweight desktops to web-scale cloud deployments. It aims to offer feature-parity with systemd but with a modular, portable architecture compliant with software engineering best-practice.
Stars: ✭ 352 (-95.14%)
Mutual labels:  freebsd, openbsd
packetdrill
packetdrill with UDPLite and SCTP support and bug fixes for FreeBSD
Stars: ✭ 37 (-99.49%)
Mutual labels:  freebsd, openbsd
check-disk-space
Light multi-platform disk space checker without third-party for Node.js
Stars: ✭ 55 (-99.24%)
Mutual labels:  disk-space, disk-usage
Iredmail
Full-featured, open source mail server solution for mainstream Linux/BSD distributions.
Stars: ✭ 343 (-95.26%)
Mutual labels:  freebsd, openbsd
psutil
Cross-platform lib for process and system monitoring in Python
Stars: ✭ 8,488 (+17.24%)
Mutual labels:  freebsd, openbsd
Cosmopolitan
build-once run-anywhere c library
Stars: ✭ 6,324 (-12.65%)
Mutual labels:  freebsd, openbsd
Rdrview
Firefox Reader View as a command line tool
Stars: ✭ 622 (-91.41%)
Mutual labels:  freebsd, openbsd
bbcp
BlackBox Cross-Platform (Windows, GNU/Linux, OpenBSD, FreeBSD)
Stars: ✭ 49 (-99.32%)
Mutual labels:  freebsd, openbsd
osutil
Go library to easily detect current operating system, current Linux distribution, macOS version and more...
Stars: ✭ 22 (-99.7%)
Mutual labels:  freebsd, openbsd
diskusage
FANTASTIC SPEED utility to find out top largest folders/files on the disk.
Stars: ✭ 64 (-99.12%)
Mutual labels:  disk-space, disk-usage
Awesome-BSD-Ports-Programs-And-Projects
A Repo Detailing BSD Ports, Programs, and Projects.
Stars: ✭ 46 (-99.36%)
Mutual labels:  freebsd, openbsd
Robox
The tools needed to robotically create/configure/provision a large number of operating systems, for a variety of hypervisors, using packer.
Stars: ✭ 303 (-95.81%)
Mutual labels:  freebsd, openbsd
Pyroute2
Python Netlink and PF_ROUTE library — network setup and monitoring
Stars: ✭ 658 (-90.91%)
Mutual labels:  freebsd, openbsd
gsmartcontrol
GSmartControl - Hard disk drive and SSD health inspection tool
Stars: ✭ 183 (-97.47%)
Mutual labels:  freebsd, openbsd
GoRAT
GoRAT (Go Remote Access Tool) is an extremely powerful reverse shell, file server, and control plane using HTTPS reverse tunnels as a transport mechanism.
Stars: ✭ 34 (-99.53%)
Mutual labels:  freebsd, openbsd
Daemonize
daemonize is a library for writing system daemons in Python.
Stars: ✭ 396 (-94.53%)
Mutual labels:  freebsd, openbsd

duf

Latest Release Build Status Go ReportCard GoDoc

Disk Usage/Free Utility (Linux, BSD, macOS & Windows)

duf

Features

  • User-friendly, colorful output
  • Adjusts to your terminal's theme & width
  • Sort the results according to your needs
  • Groups & filters devices
  • Can conveniently output JSON

Installation

Packages

Linux

  • Arch Linux: pacman -S duf
  • Nix: nix-env -iA nixpkgs.duf
  • Void Linux: xbps-install -S duf
  • Snap: sudo snap install duf-utility (snapcraft.io)
  • Packages in Alpine, Debian & RPM formats

BSD

  • FreeBSD: pkg install duf

macOS

  • with Homebrew: brew install duf
  • with MacPorts: sudo port selfupdate && sudo port install duf

Windows

Android

  • Android (via termux): pkg install duf

Binaries

  • Binaries for Linux, FreeBSD, OpenBSD, macOS, Windows

From source

Make sure you have a working Go environment (Go 1.12 or higher is required). See the install instructions.

Compiling duf is easy, simply run:

git clone https://github.com/muesli/duf.git
cd duf
go build

Usage

You can simply start duf without any command-line arguments:

duf

If you supply arguments, duf will only list specific devices & mount points:

duf /home /some/file

If you want to list everything (including pseudo, duplicate, inaccessible file systems):

duf --all

Filtering

You can show and hide specific tables:

duf --only local,network,fuse,special,loops,binds
duf --hide local,network,fuse,special,loops,binds

You can also show and hide specific filesystems:

duf --only-fs tmpfs,vfat
duf --hide-fs tmpfs,vfat

...or specific mount points:

duf --only-mp /,/home,/dev
duf --hide-mp /,/home,/dev

Wildcards inside quotes work:

duf --only-mp '/sys/*,/dev/*'

Display options

Sort the output:

duf --sort size

Valid keys are: mountpoint, size, used, avail, usage, inodes, inodes_used, inodes_avail, inodes_usage, type, filesystem.

Show or hide specific columns:

duf --output mountpoint,size,usage

Valid keys are: mountpoint, size, used, avail, usage, inodes, inodes_used, inodes_avail, inodes_usage, type, filesystem.

List inode information instead of block usage:

duf --inodes

If duf doesn't detect your terminal's colors correctly, you can set a theme:

duf --theme light

Bonus

If you prefer your output as JSON:

duf --json

Troubleshooting

Users of oh-my-zsh should be aware that it already defines an alias called duf, which you will have to remove in order to use duf:

unalias duf
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].