This guide is made on how to check server disk space using a tool called Putty. In the previous article, we have written about how to remote VPS via SSH using Putty. In this guide we will show how to check a server's disk space using Putty.
The command used when you have entered SSH via putty is :
df -h
The output example is like this:
# df -h Filesystem Size Used Avail Use% Mounted on /dev/vda1 57G 19G 36G 35% / devtmpfs 3.8G 0 3.8G 0% /dev tmpfs 3.8G 0 3.8G 0% /dev/shm tmpfs 3.8G 385M 3.4G 10% /run tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup overlay 57G 19G 36G 35% /var/lib/docker/overlay2/74b4be5e3b53b61a704ab5529763423aef909443d60edf05ad407c0a1db51e43/merged tmpfs 773M 0 773M 0% /run/user/0
Thus, from the sample output above we can infer some :
- 57 GB of disk space
- Used 19 GB or as much as 35%
- 36GB or 65% remaining