Disk Usage/Free Utility - a better 'df' alternative

Overview

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 width
  • Sort the results according to your needs
  • Groups & filters devices
  • Can conveniently output JSON

Installation

Packages

Linux

  • Arch Linux: duf
  • Nix: nix-env -iA nixpkgs.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

  • with scoop: scoop install duf

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

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

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

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
Issues
  • Windows Support Roadmap

    Windows Support Roadmap

    This issue is a tracker for Windows support development.


    Todo

    Done

    • [x] Support Windows local devices #58
    • [x] Support network attached devices, such as SMB #58
    • [x] Support block attributes in Mount struct (which should be equivalent to "cluster" for Windows) #58
    • [x] Recognize Windows Sandbox device as a special device #58
    • [x] Support for code pages other than 437(United States) or 65001(UTF-8) #63
    enhancement 
    opened by RangerCD 19
  • Weird input to next command line

    Weird input to next command line

    I just updated duf from 0.4 to 0.5 and noticed that on some computers after duf has printed its output and the shell prompt is shown, the sequence "11;rgb:0000/0000/0000" is "output" on the terminal, but as part of the next command (so the shell takes it as input, making a mess for next command).

    $ duf ... $ 11;rgb:0000/0000/0000?

    (output cut because even if using the code tags the output is messed up in github)

    Googling for "11;rgb:0000/0000/0000" seems to indicate that some color detection causes the terminal emulator to spit that out. I think it may have to do with the detection of the background color.

    Note that not all terminals do that. I mean, I only use lxterminal, but depending on where I run duf in some servers it works OK, in others it outputs that string. Could be some timing issue.

    bug 
    opened by reinob 17
  • ImDisk RAM disk not shown on Windows even with -all

    ImDisk RAM disk not shown on Windows even with -all

    As in the title: the OS SSD, internal HDD and external USB 3.0 HDD are all shown correctly, but this ram disk (formatted to NTFS of course) is not, not even with -all.

    This RAM disk is shown by the df command (I tried the one that came with git bash, the one that is in msys directory of Haskell Platform and the one in a Windows build of busybox, all three show it).

    opened by FRex 16
  • "permission denied" errors in output

    Just installed duf-r17.3818846-1 from AUR and ran it as regular user:

    screenshot of duf output

    Running with sudo, the "permission denied" errors are gone, but it should work with regular users as well.

    bug 
    opened by fhemberger 12
  • Wildcard for excluding filesystems (TimeMachine)

    Wildcard for excluding filesystems (TimeMachine)

    duf 0.6.0 from Homebrew

    duf produces voluminous output on my system, due to a lot of filesystems mapped by TimeMachine → SMB share on my NAS:

    ╭───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
    │ 17 local devices                                                                                                                                                                  │
    ├───────────────────────────────────────────────────────┬────────┬─────────┬────────┬───────────────────────────────┬───────┬───────────────────────────────────────────────────────┤
    │ MOUNTED ON                                            │   SIZE │    USED │  AVAIL │              USE%             │ TYPE  │ FILESYSTEM                                            │
    ├───────────────────────────────────────────────────────┼────────┼─────────┼────────┼───────────────────────────────┼───────┼───────────────────────────────────────────────────────┤
    │ /                                                     │ 931.5G │   14.0G │ 232.3G │ [....................]   1.5% │ apfs  │ /dev/disk1s5s1                                        │
    │ /System/Volumes/Data                                  │ 931.5G │  683.1G │ 232.3G │ [##############......]  73.3% │ apfs  │ /dev/disk1s1                                          │
    │ /System/Volumes/Preboot                               │ 931.5G │  348.2M │ 232.3G │ [....................]   0.0% │ apfs  │ /dev/disk1s2                                          │
    │ /System/Volumes/Update                                │ 931.5G │ 1004.0K │ 232.3G │ [....................]   0.0% │ apfs  │ /dev/disk1s6                                          │
    │ /System/Volumes/VM                                    │ 931.5G │    1.0G │ 232.3G │ [....................]   0.1% │ apfs  │ /dev/disk1s4                                          │
    │ /Volumes/.timemachine/95A20C74-B2D8-4BF2-B753-966BA63 │   3.8T │  259.2G │   3.5T │ [#...................]   6.7% │ apfs  │ [email protected]/dev/d │
    │ 23011/2021-02-02-070031.backup                        │        │         │        │                               │       │ isk4s1                                                │
    │ /Volumes/.timemachine/95A20C74-B2D8-4BF2-B753-966BA63 │   3.8T │  266.9G │   3.5T │ [#...................]   6.9% │ apfs  │ [email protected]/dev/d │
    │ 23011/2021-02-03-060550.backup                        │        │         │        │                               │       │ isk4s1                                                │
    │ /Volumes/.timemachine/95A20C74-B2D8-4BF2-B753-966BA63 │   3.8T │  270.9G │   3.5T │ [#...................]   7.0% │ apfs  │ [email protected]/dev/d │
    │ 23011/2021-02-04-042746.backup                        │        │         │        │                               │       │ isk4s1                                                │
    │ /Volumes/.timemachine/95A20C74-B2D8-4BF2-B753-966BA63 │   3.8T │  270.6G │   3.5T │ [#...................]   7.0% │ apfs  │ [email protected]/dev/d │
    │ 23011/2021-02-04-063743.backup                        │        │         │        │                               │       │ isk4s1                                                │
    │ /Volumes/.timemachine/95A20C74-B2D8-4BF2-B753-966BA63 │   3.8T │  272.8G │   3.5T │ [#...................]   7.0% │ apfs  │ [email protected]/dev/d │
    │ 23011/2021-02-04-211925.backup                        │        │         │        │                               │       │ isk4s1                                                │
    │ /Volumes/.timemachine/95A20C74-B2D8-4BF2-B753-966BA63 │   3.8T │  272.8G │   3.5T │ [#...................]   7.0% │ apfs  │ [email protected]/dev/d │
    │ 23011/2021-02-04-232354.backup                        │        │         │        │                               │       │ isk4s1                                                │
    │ /Volumes/.timemachine/95A20C74-B2D8-4BF2-B753-966BA63 │   3.8T │  273.3G │   3.5T │ [#...................]   7.0% │ apfs  │ [email protected]/dev/d │
    │ 23011/2021-02-05-012747.backup                        │        │         │        │                               │       │ isk4s1                                                │
    │ /Volumes/.timemachine/95A20C74-B2D8-4BF2-B753-966BA63 │   3.8T │  273.5G │   3.5T │ [#...................]   7.0% │ apfs  │ [email protected]/dev/d │
    │ 23011/2021-02-05-054028.backup                        │        │         │        │                               │       │ isk4s1                                                │
    │ /Volumes/.timemachine/nas2._smb._tcp.local./D283BA05- │   4.0T │  274.2G │   3.7T │ [#...................]   6.7% │ smbfs │ //[email protected]_smb._tcp.local./TimeMachine              │
    │ 2364-4C54-B0D4-D0133C60A859/TimeMachine               │        │         │        │                               │       │                                                       │
    │ /Volumes/Backups of mini                              │   3.8T │  273.4G │   3.5T │ [#...................]   7.0% │ apfs  │ /dev/disk4s1                                          │
    │ /Volumes/Recovery                                     │ 931.5G │  585.3M │ 232.3G │ [....................]   0.1% │ apfs  │ /dev/disk1s3                                          │
    │ /Volumes/storage                                      │  10.0T │    4.4T │   5.6T │ [########............]  43.9% │ smbfs │ //[email protected]_smb._tcp.local/storage                   │
    ╰───────────────────────────────────────────────────────┴────────┴─────────┴────────┴───────────────────────────────┴───────┴───────────────────────────────────────────────────────╯
    

    I tried various incarnations of -hide, -hide-fs, -only-fs etc but nothing I did worked to exclude those *.timemachine mounts. Is there any way to do this? The fs names are dynamic due to the snapshot nature of the system, so specifying them explicitly isn't really an option.

    enhancement 
    opened by luckman212 11
  • Installation error on Ubuntu - Unable to locate package duf

    Installation error on Ubuntu - Unable to locate package duf

    I am getting the below error on Ubuntu:

    image

    I followed the install command here: https://github.com/muesli/duf#linux

    Do I need to add a repository for the PPA?

    opened by raisedadead 10
  • Update macOS installation instruction

    Update macOS installation instruction

    Hello! Current homebrew command brew install muesli/tap/duf is not working.

    Error: No available formula or cask with the name "muesli/tap/duf".
    ==> Searching for similarly named formulae...
    This similarly named formula was found:
    duf
    To install it, run:
      brew install duf
    

    I've fixed it.

    opened by Fi5t 8
  • ascii graphics for non-UTF terminals

    ascii graphics for non-UTF terminals

    I do understand this is not something common nowadays but I still have a few servers I maintain that have no UTF support in console. Hence with a little hope I'd like to ask for support for non-UTF terminals by using ascii graphics instead of UTF symbols. Thanks in advance. image

    enhancement 
    opened by yermulnik 7
  • Make duf a snap

    Make duf a snap

    This is an attempt to make duf a snap. So far, it kind of works OK - no errors are thrown. But: The output of the regular binary and the snap are different, at least on my machine. Unfortunately, I don't have that much experience that I could solve that problem myself. Maybe one of you people could help out? Here are the two outputs:

    Regular binary

    [email protected] ~/P/S/duf ((v0.3.0))> ./duf 
    /run/user/125/gvfs: permission denied
    ╭───────────────────────────────────────────────────────────────────────────────────────╮
    │ 3 local devices                                                                       │
    ├──────────────────┬────────┬────────┬────────┬─────────────────────┬──────┬────────────┤
    │ MOUNTED ON       │   SIZE │   USED │  AVAIL │         USE%        │ TYPE │ FILESYSTEM │
    ├──────────────────┼────────┼────────┼────────┼─────────────────────┼──────┼────────────┤
    │ /                │  63.7G │  26.1G │  34.2G │ [####......]  41.1% │ ext4 │ /dev/sdb1  │
    │ /home            │ 732.4G │ 546.1G │ 149.0G │ [#######...]  74.6% │ ext4 │ /dev/sda1  │
    │ /run/timeshift/b │ 182.5G │  17.0G │ 156.2G │ [..........]   9.3% │ ext4 │ /dev/sda2  │
    │ ackup            │        │        │        │                     │      │            │
    ╰──────────────────┴────────┴────────┴────────┴─────────────────────┴──────┴────────────╯
    ╭─────────────────────────────────────────────────────────────────────────────────────────╮
    │ 8 special devices                                                                       │
    ├────────────────┬────────┬────────┬────────┬─────────────────────┬──────────┬────────────┤
    │ MOUNTED ON     │   SIZE │   USED │  AVAIL │         USE%        │ TYPE     │ FILESYSTEM │
    ├────────────────┼────────┼────────┼────────┼─────────────────────┼──────────┼────────────┤
    │ /dev           │   3.8G │     0B │   3.8G │                     │ devtmpfs │ udev       │
    │ /dev/shm       │   3.8G │ 395.9M │   3.4G │ [#.........]  10.1% │ tmpfs    │ tmpfs      │
    │ /run           │ 783.8M │   2.3M │ 781.5M │ [..........]   0.3% │ tmpfs    │ tmpfs      │
    │ /run/lock      │   5.0M │   4.0K │   5.0M │ [..........]   0.1% │ tmpfs    │ tmpfs      │
    │ /run/snapd/ns  │ 783.8M │   2.3M │ 781.5M │ [..........]   0.3% │ tmpfs    │ tmpfs      │
    │ /run/user/1000 │ 783.8M │  80.0K │ 783.7M │ [..........]   0.0% │ tmpfs    │ tmpfs      │
    │ /run/user/125  │ 783.8M │  16.0K │ 783.8M │ [..........]   0.0% │ tmpfs    │ tmpfs      │
    │ /sys/fs/cgroup │   3.8G │     0B │   3.8G │                     │ tmpfs    │ tmpfs      │
    ╰────────────────┴────────┴────────┴────────┴─────────────────────┴──────────┴────────────╯
    
    

    Snap

    [email protected] ~/P/S/duf ((v0.3.0))> duf
    /tmp/.mount_Nextclw6d1QD: no such file or directory
    /var/lib/snapd/hostfs/run/user/125/gvfs: permission denied
    /run/user/125/gvfs: permission denied
    ╭───────────────────────────────────────────────────────────────────────────────────────╮
    │ 21 local devices                                                                      │
    ├──────────────────┬────────┬────────┬────────┬─────────────────────┬──────┬────────────┤
    │ MOUNTED ON       │   SIZE │   USED │  AVAIL │         USE%        │ TYPE │ FILESYSTEM │
    ├──────────────────┼────────┼────────┼────────┼─────────────────────┼──────┼────────────┤
    │ /etc             │  63.7G │  26.1G │  34.2G │ [####......]  41.1% │ ext4 │ /dev/sdb1  │
    │ /home            │ 732.4G │ 546.1G │ 149.0G │ [#######...]  74.6% │ ext4 │ /dev/sda1  │
    │ /lib/firmware    │  63.7G │  26.1G │  34.2G │ [####......]  41.1% │ ext4 │ /dev/sdb1  │
    │ /lib/modules     │  63.7G │  26.1G │  34.2G │ [####......]  41.1% │ ext4 │ /dev/sdb1  │
    │ /media           │  63.7G │  26.1G │  34.2G │ [####......]  41.1% │ ext4 │ /dev/sdb1  │
    │ /mnt             │  63.7G │  26.1G │  34.2G │ [####......]  41.1% │ ext4 │ /dev/sdb1  │
    │ /root            │  63.7G │  26.1G │  34.2G │ [####......]  41.1% │ ext4 │ /dev/sdb1  │
    │ /run/timeshift/b │ 182.5G │  17.0G │ 156.2G │ [..........]   9.3% │ ext4 │ /dev/sda2  │
    │ ackup            │        │        │        │                     │      │            │
    │ /snap            │  63.7G │  26.1G │  34.2G │ [####......]  41.1% │ ext4 │ /dev/sdb1  │
    │ /tmp             │  63.7G │  26.1G │  34.2G │ [####......]  41.1% │ ext4 │ /dev/sdb1  │
    │ /tmp             │  63.7G │  26.1G │  34.2G │ [####......]  41.1% │ ext4 │ /dev/sdb1  │
    │ /usr/lib/snapd   │  63.7G │  26.1G │  34.2G │ [####......]  41.1% │ ext4 │ /dev/sdb1  │
    │ /usr/src         │  63.7G │  26.1G │  34.2G │ [####......]  41.1% │ ext4 │ /dev/sdb1  │
    │ /var/lib/snapd   │  63.7G │  26.1G │  34.2G │ [####......]  41.1% │ ext4 │ /dev/sdb1  │
    │ /var/lib/snapd/h │  63.7G │  26.1G │  34.2G │ [####......]  41.1% │ ext4 │ /dev/sdb1  │
    │ ostfs            │        │        │        │                     │      │            │
    │ /var/lib/snapd/h │  63.7G │  26.1G │  34.2G │ [####......]  41.1% │ ext4 │ /dev/sdb1  │
    │ ostfs            │        │        │        │                     │      │            │
    │ /var/lib/snapd/h │ 732.4G │ 546.1G │ 149.0G │ [#######...]  74.6% │ ext4 │ /dev/sda1  │
    │ ostfs/home       │        │        │        │                     │      │            │
    │ /var/lib/snapd/h │ 182.5G │  17.0G │ 156.2G │ [..........]   9.3% │ ext4 │ /dev/sda2  │
    │ ostfs/run/timesh │        │        │        │                     │      │            │
    │ ift/backup       │        │        │        │                     │      │            │
    │ /var/log         │  63.7G │  26.1G │  34.2G │ [####......]  41.1% │ ext4 │ /dev/sdb1  │
    │ /var/snap        │  63.7G │  26.1G │  34.2G │ [####......]  41.1% │ ext4 │ /dev/sdb1  │
    │ /var/tmp         │  63.7G │  26.1G │  34.2G │ [####......]  41.1% │ ext4 │ /dev/sdb1  │
    ╰──────────────────┴────────┴────────┴────────┴─────────────────────┴──────┴────────────╯
    ╭───────────────────────────────────────────────────────────────────────────────────────────╮
    │ 18 special devices                                                                        │
    ├──────────────────┬────────┬────────┬────────┬─────────────────────┬──────────┬────────────┤
    │ MOUNTED ON       │   SIZE │   USED │  AVAIL │         USE%        │ TYPE     │ FILESYSTEM │
    ├──────────────────┼────────┼────────┼────────┼─────────────────────┼──────────┼────────────┤
    │ /dev             │   3.8G │     0B │   3.8G │                     │ devtmpfs │ udev       │
    │ /dev/shm         │   3.8G │ 405.0M │   3.4G │ [#.........]  10.3% │ tmpfs    │ tmpfs      │
    │ /run             │ 783.8M │   2.3M │ 781.5M │ [..........]   0.3% │ tmpfs    │ tmpfs      │
    │ /run/lock        │   5.0M │   4.0K │   5.0M │ [..........]   0.1% │ tmpfs    │ tmpfs      │
    │ /run/netns       │ 783.8M │   2.3M │ 781.5M │ [..........]   0.3% │ tmpfs    │ tmpfs      │
    │ /run/snapd/ns    │ 783.8M │   2.3M │ 781.5M │ [..........]   0.3% │ tmpfs    │ tmpfs      │
    │ /run/user/1000   │ 783.8M │  80.0K │ 783.7M │ [..........]   0.0% │ tmpfs    │ tmpfs      │
    │ /run/user/125    │ 783.8M │  16.0K │ 783.8M │ [..........]   0.0% │ tmpfs    │ tmpfs      │
    │ /sys/fs/cgroup   │   3.8G │     0B │   3.8G │                     │ tmpfs    │ tmpfs      │
    │ /var/lib/snapd/h │ 783.8M │   2.3M │ 781.5M │ [..........]   0.3% │ tmpfs    │ tmpfs      │
    │ ostfs/run        │        │        │        │                     │          │            │
    │ /var/lib/snapd/h │   5.0M │   4.0K │   5.0M │ [..........]   0.1% │ tmpfs    │ tmpfs      │
    │ ostfs/run/lock   │        │        │        │                     │          │            │
    │ /var/lib/snapd/h │ 783.8M │   2.3M │ 781.5M │ [..........]   0.3% │ tmpfs    │ tmpfs      │
    │ ostfs/run/snapd/ │        │        │        │                     │          │            │
    │ ns               │        │        │        │                     │          │            │
    │ /var/lib/snapd/h │ 783.8M │  80.0K │ 783.7M │ [..........]   0.0% │ tmpfs    │ tmpfs      │
    │ ostfs/run/user/1 │        │        │        │                     │          │            │
    │ 000              │        │        │        │                     │          │            │
    │ /var/lib/snapd/h │ 783.8M │  16.0K │ 783.8M │ [..........]   0.0% │ tmpfs    │ tmpfs      │
    │ ostfs/run/user/1 │        │        │        │                     │          │            │
    │ 25               │        │        │        │                     │          │            │
    │ /var/lib/snapd/l │   3.8G │     0B │   3.8G │                     │ tmpfs    │ none       │
    │ ib/gl            │        │        │        │                     │          │            │
    │ /var/lib/snapd/l │   3.8G │     0B │   3.8G │                     │ tmpfs    │ none       │
    │ ib/gl32          │        │        │        │                     │          │            │
    │ /var/lib/snapd/l │   3.8G │     0B │   3.8G │                     │ tmpfs    │ none       │
    │ ib/glvnd         │        │        │        │                     │          │            │
    │ /var/lib/snapd/l │   3.8G │     0B │   3.8G │                     │ tmpfs    │ none       │
    │ ib/vulkan        │        │        │        │                     │          │            │
    ╰──────────────────┴────────┴────────┴────────┴─────────────────────┴──────────┴────────────╯
    
    

    opened by daPhipz 7
  • Cannot build duf

    Cannot build duf

    I get this error when I try to build/install the latest version of duf.

    $ go install github.com/muesli/[email protected]
    go install: github.com/muesli/[email protected] (in github.com/muesli/[email protected]):
    	The go.mod file for the module providing named packages contains one or
    	more replace directives. It must not contain directives that would cause
    	it to be interpreted differently than if it were the main module.
    
    $ go version
    go version go1.17.6 darwin/amd64
    
    $ sw_vers
    ProductName:	macOS
    ProductVersion:	12.1
    BuildVersion:	21C52
    
    opened by mikemadden42 6
  • Fix mountinfo parsing #153

    Fix mountinfo parsing #153

    Quick patch to fix #153 mount -t tmpfs - /tmp -> "found invalid line"

    Split directly with strings.Fields instead of "(8) separator: marks the end of the optional fields"

    Todo:

    • ~~Spaces into "optional fields"~~ (The Linux kernel test does not support space on it https://github.com/torvalds/linux/blob/e55f0c439a2681a3c299bedd99ebe998049fa508/tools/testing/selftests/move_mount_set_group/move_mount_set_group_test.c#L124)
    • ~~Zero optional fields~~ (It contains at least the type of mount (ro or rw) https://man7.org/linux/man-pages/man5/fstab.5.html https://man7.org/linux/man-pages/man5/proc.5.html)
    • ~~Non zero super options~~
    • ~~Optional fields~~ ((7) optional fields: zero or more fields of the form "tag[:value]")

    Signed-off-by: Adrien Kara [email protected]

    bug 
    opened by IGLOU-EU 6
  • Add option to print totals

    Add option to print totals

    This PR adds the --totals option, which makes duf print the total size, usage and free space for every group in a table footer, as well as an extra small table at the bottom with the overall totals. It looks like this:

    2022-08-03T16:26:22Z

    opened by vladh 0
  • Bump github.com/jedib0t/go-pretty/v6 from 6.3.4 to 6.3.6

    Bump github.com/jedib0t/go-pretty/v6 from 6.3.4 to 6.3.6

    Bumps github.com/jedib0t/go-pretty/v6 from 6.3.4 to 6.3.6.

    Release notes

    Sourced from github.com/jedib0t/go-pretty/v6's releases.

    v6.3.6

    Features

    • list

    v6.3.5

    Bug-Fixes

    • table
      • fix column separators in tables without headers or footers (fixes #215)
    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • When run duf with a path, result is not expected (linux_armv7 on rpi4)

    When run duf with a path, result is not expected (linux_armv7 on rpi4)

    Files in the path

    [email protected]:~ $ exa /mnt/240G/pt --tree /mnt/240G/pt ├── Collins COBUILD (CN).mdd ├── Collins COBUILD (CN).mdx ├── Collins COBUILD (CN).png └── text ├── test1 └── test2

    E.g. 1

    [email protected]:~ $ duf /mnt/240G/pt ╭───────────────────────────────────────────────────────────────────╮ │ 1 local device │ ├────────────┬────────┬───────┬────────┬────────┬──────┬────────────┤ │ MOUNTED ON │ SIZE │ USED │ AVAIL │ USE% │ TYPE │ FILESYSTEM │ ├────────────┼────────┼───────┼────────┼────────┼──────┼────────────┤ │ /mnt/240G │ 219.1G │ 73.3G │ 134.6G │ 33.5% │ ext4 │ /dev/sdb1 │ ╰────────────┴────────┴───────┴────────┴────────┴──────┴────────────╯

    E.g. 2

    [email protected]:~ $ duf /mnt/240G/pt/* ╭───────────────────────────────────────────────────────────────────╮ │ 4 local devices │ ├────────────┬────────┬───────┬────────┬────────┬──────┬────────────┤ │ MOUNTED ON │ SIZE │ USED │ AVAIL │ USE% │ TYPE │ FILESYSTEM │ ├────────────┼────────┼───────┼────────┼────────┼──────┼────────────┤ │ /mnt/240G │ 219.1G │ 73.3G │ 134.6G │ 33.5% │ ext4 │ /dev/sdb1 │ │ /mnt/240G │ 219.1G │ 73.3G │ 134.6G │ 33.5% │ ext4 │ /dev/sdb1 │ │ /mnt/240G │ 219.1G │ 73.3G │ 134.6G │ 33.5% │ ext4 │ /dev/sdb1 │ │ /mnt/240G │ 219.1G │ 73.3G │ 134.6G │ 33.5% │ ext4 │ /dev/sdb1 │ ╰────────────┴────────┴───────┴────────┴────────┴──────┴────────────╯ Show 4 lines. I think it's because there are 3 files and 1 directory

    Result of 'du'

    [email protected]:~ $ du /mnt/240G/pt/ 4 /mnt/240G/pt/text 13616 /mnt/240G/pt/

    opened by CharlieLiuQian 3
  • Bump actions/setup-go from 3.2.0 to 3.2.1

    Bump actions/setup-go from 3.2.0 to 3.2.1

    Bumps actions/setup-go from 3.2.0 to 3.2.1.

    Release notes

    Sourced from actions/setup-go's releases.

    Update actions/cache version to 3.0.0

    In scope of this release we updated actions/cache package as the new version contains fixes for caching error handling

    Commits

    Dependabot compatibility score

    Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


    Dependabot commands and options

    You can trigger Dependabot actions by commenting on this PR:

    • @dependabot rebase will rebase this PR
    • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
    • @dependabot merge will merge this PR after your CI passes on it
    • @dependabot squash and merge will squash and merge this PR after your CI passes on it
    • @dependabot cancel merge will cancel a previously requested merge and block automerging
    • @dependabot reopen will reopen this PR if it is closed
    • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
    • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
    • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    dependencies 
    opened by dependabot[bot] 0
  • feat: add color styles

    feat: add color styles

    This would need more documentation, and idk if you're fine with the option names. But it works, and I like the color ones because they take up less screen real estate.

    asciicast

    opened by forivall 0
  • Should duf stand for both du and df ?

    Should duf stand for both du and df ?

    Hello,

    Here kind of a feature request… When I saw the name and few screenshots I hoped it bundled some du features as well. Most of the time, when I use df on my server, I'll then use du to identify folders & files using all the space… du may also need a user friendly wrapper and seems to be used often next to df

    I often type commands like this one which is not very intuitive (most of the time I search my history to get it)

    du -d5 -h |sort -h |tail -n 30
    

    As it also display sizes & folders, I think it may make sense.

    Do you think it may enter the feature scope of duf?

    opened by Christophe31 1
Releases(v0.8.1)
Owner
Christian Muehlhaeuser
Geek, Gopher, Software Developer, Maker, Opensource Advocate, Tech Enthusiast, Photographer, Board and Card Gamer
Christian Muehlhaeuser
An alternative to Consistent Hashing

Weighted Rendezvous Hashing An alternative to Consistent Hashing. Evenly distributes load on node removal. ring := rendezvous.New() for _, s := range

Minoru Osuka 3 Feb 12, 2022
A blockchain-based demo that shows an alternative strategy for ensuring data and log integrity on aircraft

A blockchain-based demo that shows an alternative strategy for ensuring data and log integrity on aircraft. (Coded in less than 24 hours for GunnHack)

sckzor 0 Feb 6, 2022
Certificate monitoring utility for watching tls certificates and reporting the result as metrics.

cert-checker cert-checker is a certificate monitoring utility for watching tls certificates. These checks get exposed as Prometheus metrics to be view

Frederik Mogensen 79 Aug 2, 2022
A super easy file encryption utility written in go and under 800kb

filecrypt A super easy to use file encryption utility written in golang ⚠ Help Wanted on porting filecrypt to other programing languages NOTE: if you

Flew Software 78 Jul 20, 2022
An ATNA (Audit Trail and Node Authentication) Cloud Backup Utility

ATNA Vault ATNA Vault allows you to maintain a secure long-term archive for all your IHE audit messages. IHE vendors who can provide "filter forward"

Paul Bradley 1 Mar 13, 2022
A utility for the certificate trust list (CTL).

ctlutil A utility for the certificate trust list (CTL) Installation First install Go. If you just want to install the binary to your current directory

Canstand 0 Dec 28, 2021
Small utility to sign a small json containing basic kyc information. The key generated by it is fully compatible with cosmos based chains.

Testnet signer utility This utility generates a signed JSON-formatted ID to prove ownership of a key used to submit tx on the blockchain. This testnet

Archway Network 61 Jul 29, 2022
Disk usage analyzer with console interface written in Go

Gdu is intended primarily for SSD disks where it can fully utilize parallel processing. However HDDs work as well, but the performance gain is not so huge.

Daniel Milde 1.9k Aug 8, 2022
Simple Golang tool for monitoring linux cpu, ram and disk usage.

Simple Golang tool for monitoring linux cpu, ram and disk usage.

Meliksah Cetinkaya 1 Mar 19, 2022
System resource usage profiler tool which regularly takes snapshots of the memory and CPU load of one or more running processes so as to dynamically build up a profile of their usage of system resources.

Vegeta is a system resource usage tracking tool built to regularly take snapshots of the memory and CPU load of one or more running processes, so as to dynamically build up a profile of their usage of system resources.

Kartik 8 Jan 16, 2022
Minimal memory usage, cloud native logstash alternative

Mr-Plow Tiny and minimal tool to export data from relational db (postgres or mysql) to elasticsearch. The tool does not implement all the logstash fea

RingLoop 28 Apr 27, 2022
A simple tool to fill random data into a file to overwrite the free space on a disk

random-fill random-fill is a simple tool to fill random data into a file to over

null 2 Jul 13, 2022
Dependency-free replacement for GNU parallel, perfect fit for usage in an initramfs.

coshell v0.2.5 A no-frills dependency-free replacement for GNU parallel, perfect for initramfs usage. Licensed under GNU/GPL v2. How it works An sh -c

gdm85 41 May 11, 2022
gopkg is a universal utility collection for Go, it complements offerings such as Boost, Better std, Cloud tools.

gopkg is a universal utility collection for Go, it complements offerings such as Boost, Better std, Cloud tools. Table of Contents Introduction

Bytedance Inc. 749 Aug 12, 2022
Capdns is a network capture utility designed specifically for DNS traffic. This utility is based on tcpdump.

Capdns is a network capture utility designed specifically for DNS traffic. This utility is based on tcpdump. Some of its features include: Unde

Infvie Envoy 10 Feb 26, 2022
Golang library with POSIX-compliant command-line UI (CLI) and Hierarchical-configuration. Better substitute for stdlib flag.

cmdr cmdr is a POSIX-compliant, command-line UI (CLI) library in Golang. It is a getopt-like parser of command-line options, be compatible with the ge

hz 111 Jul 30, 2022
Cuckoo Filter: Practically Better Than Bloom

Cuckoo Filter Cuckoo filter is a Bloom filter replacement for approximated set-membership queries. While Bloom filters are well-known space-efficient

Seif Lotfy 917 Aug 1, 2022
:clock8: Better time duration formatting in Go!

durafmt durafmt is a tiny Go library that formats time.Duration strings (and types) into a human readable format. go get github.com/hako/durafmt Why

Wesley Hill 442 Aug 6, 2022
A better ORM for Go, based on non-empty interfaces and code generation.

reform A better ORM for Go and database/sql. It uses non-empty interfaces, code generation (go generate), and initialization-time reflection as oppose

null 1.3k Aug 3, 2022
eris provides a better way to handle, trace, and log errors in Go 🎆

eris Package eris provides a better way to handle, trace, and log errors in Go. go get github.com/rotisserie/eris Why you'll want to switch to eris Us

null 1k Aug 3, 2022
go websocket, a better way to buid your IM server

Your star is my power!! ?? ⭐ ⭐ ⭐ ⭐ ⭐ Discribe lhttp is a http like protocol using websocket to provide long live, build your IM service quickly scalab

中弈 676 Aug 4, 2022
Utilities for slightly better logging in Go (Golang).

logutils logutils is a Go package that augments the standard library "log" package to make logging a bit more modern, without fragmenting the Go ecosy

HashiCorp 324 Jul 12, 2022
a better customizable tool to embed files in go; also update embedded files remotely without restarting the server

fileb0x What is fileb0x? A better customizable tool to embed files in go. It is an alternative to go-bindata that have better features and organized c

null 613 Jul 21, 2022
Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.

Gin Web Framework Gin is a web framework written in Go (Golang). It features a martini-like API with performance that is up to 40 times faster thanks

Gin-Gonic 61.7k Aug 8, 2022
A better Generic Pool (sync.Pool)

This package is a thin wrapper over the Pool provided by the sync package. The Pool is an essential package to obtain maximum performance by reducing the number of memory allocations.

null 34 Jul 2, 2022
Getting better at Linux with 10 mini-projects.

10 things Linux How do you advance your Linux skills when you are already comfortable with the basics? My solution was to come up with 10 subjects to

Carl Riis 315 Aug 3, 2022
Tigo is an HTTP web framework written in Go (Golang).It features a Tornado-like API with better performance. Tigo是一款用Go语言开发的web应用框架,API特性类似于Tornado并且拥有比Tornado更好的性能。

Tigo(For English Documentation Click Here) 一个使用Go语言开发的web框架。 相关工具及插件 tiger tiger是一个专门为Tigo框架量身定做的脚手架工具,可以使用tiger新建Tigo项目或者执行其他操作。

Karl 1.3k Aug 11, 2022
Debug Dockerized Go applications better

A tool that makes debugging of Dockerized Go applications super easy by enabling Debugger and Hot-Reload features, seamlessly. Installing go get -u gi

null 593 Aug 6, 2022