On Tue 18 Jun 2024 at 19:29:31 (-0400), songbird wrote:

> "df -x tmpfs" does the magic and gives me the better view that is
> more useful.

FWIW I define dfree as:

  df --output=source,ipcent,fstype,size,used,avail,pcent,target -B 1000000 -x 
tmpfs -x devtmpfs -x fuse.portal | sed -E 's/([^ ] )/\1 /g'

which produces a listing like:

  $ dfree
  Filesystem      IUse%  Type  1MB-blocks    Used   Avail  Use%  Mounted  on
  /dev/nvme0n1p2    23%  ext4       30783   17131   12063   59%  /
  /dev/nvme0n1p3     3%  ext4       30783    1922   27272    7%  /apex-partial
  /dev/nvme0n1p1      -  vfat         523      21     502    5%  /boot/efi
  /dev/dm-0          2%  ext4      390073  186974  183209   51%  /home
  $ 

For filesystems, I find a uniform MB works better than "human-readable" sizes.

Cheers,
David.

Reply via email to