Question

How to know my free space of SSD drive left and used?

I just newbie in droplet and I use Ubuntu 14.04 for my OS I need anyone help to tell me How can I know my free space (HD SSD) drive used and left? I can use putty and can log in root already. : p but I don’t know how to type ssh for see this. Thank you so much.

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

df -kh

Example output:

kevin@kddlb:~⟫ df -kh
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1        30G  6.8G   22G  25% /
none            4.0K     0  4.0K   0% /sys/fs/cgroup
udev            487M  4.0K  487M   1% /dev
tmpfs           100M  344K  100M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            498M   84K  497M   1% /run/shm
none            100M     0  100M   0% /run/user
df -kh

Example output:

kevin@kddlb:~⟫ df -kh
Filesystem      Size  Used Avail Use% Mounted on
/dev/vda1        30G  6.8G   22G  25% /
none            4.0K     0  4.0K   0% /sys/fs/cgroup
udev            487M  4.0K  487M   1% /dev
tmpfs           100M  344K  100M   1% /run
none            5.0M     0  5.0M   0% /run/lock
none            498M   84K  497M   1% /run/shm
none            100M     0  100M   0% /run/user

and may be help full ‘free’ show memory and swap usage.

Thank you so much