Table of Contents
STEP 1: Connect to your service with ssh.
STEP 2: Use a df command.
Usage of DF command #
Basic syntax for this command is:
df [option] [devices]
To see used and available space use:
# df
Sample output is:
Filesystem 1K-blocks Used Available Use% Mounted on
devtmpfs 396856 0 396856 0% /dev
tmpfs 414256 0 414256 0% /dev/shm
tmpfs 414256 36632 377624 9% /run
tmpfs 414256 0 414256 0% /sys/fs/cgroup
/dev/vda2 9496644 1788720 7205808 20% /
/dev/vda1 499656 165700 297260 36% /boot
tmpfs 82848 0 82848 0% /run/user/0
To see free space, you can use this command:
# df -H /
Sample output will look like this:
Filesystem Size Used Avail Use% Mounted on
/dev/vda2 9.1G 1.8G 6.9G 20% /