Skip to content

Instantly share code, notes, and snippets.

@kbcarte
Last active April 6, 2022 18:48
Show Gist options
  • Save kbcarte/bb88f9d354f9dc57c7169f856fe16e86 to your computer and use it in GitHub Desktop.
Save kbcarte/bb88f9d354f9dc57c7169f856fe16e86 to your computer and use it in GitHub Desktop.
ssh view disk usage

To view disk usage via cli.

$ df -h --total

Example Output:

Filesystem      Size  Used Avail Use% Mounted on
udev            992M     0  992M   0% /dev
tmpfs           201M   23M  178M  12% /run
/dev/vda7        50G   39G  8.6G  82% /
tmpfs          1003M     0 1003M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs          1003M     0 1003M   0% /sys/fs/cgroup
tmpfs           201M     0  201M   0% /run/user/1003
tmpfs           201M     0  201M   0% /run/user/1001
total            53G   39G   13G  77% -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment