Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/juhp/df-simple
Simplified df output
https://github.com/juhp/df-simple
Last synced: 8 days ago
JSON representation
Simplified df output
- Host: GitHub
- URL: https://github.com/juhp/df-simple
- Owner: juhp
- License: bsd-3-clause
- Created: 2022-11-24T12:15:42.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-04T05:42:30.000Z (8 months ago)
- Last Synced: 2024-03-04T06:41:36.388Z (8 months ago)
- Language: Haskell
- Size: 12.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# df-simple
Simplifies:
```shellsession
$ df
Filesystem 1K-blocks Used Available Use% Mounted on
overlay 498426880 215689652 281288780 44% /
devtmpfs 4096 0 4096 0% /dev
tmpfs 16283276 84 16283192 1% /dev/shm
tmpfs 3256652 13912 3242740 1% /etc/hostname
tmpfs 6513312 10692 6502620 1% /run/host/run
/dev/dm-0 498426880 215689652 281288780 44% /run/host
tmpfs 16283280 8 16283272 1% /tmp
/dev/dm-0 498426880 215689652 281288780 44% /run/host/var
/dev/dm-0 498426880 215689652 281288780 44% /run/host/var/home
tmpfs 16283276 84 16283192 1% /dev/shm
tmpfs 6513312 10692 6502620 1% /run/media
tmpfs 3256652 13912 3242740 1% /run/user/1000
/dev/nvme0n1p2 996780 260240 667728 29% /run/host/boot
/dev/nvme0n1p1 613184 39956 573228 7% /run/host/boot/efi
/dev/sda1 479546772 427327340 27786348 94% /var/mnt/extreme
```to:
```shellsession
$ df-simple
Filesystem Size Used Free Use Mount
/dev/nvme0n1p1 613M 40M 573M 7% /run/host/boot/efi
/dev/nvme0n1p2 997M 260M 668M 29% /run/host/boot
/dev/dm-0 498G 216G 281G 44% overlay /; /run/host{,/var{,/home}}
/dev/sda1 480G 427G 28G 94% /var/mnt/extreme
```ie sorts by Used, subgrouping filesystems combining mountpoints,
and hiding tmpfs.