Ed683d1875ce3be85960c5f8e5f74efa64104ed8
By:
spirit386

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

September 1, 2015 1.5k views
DigitalOcean Getting Started

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.

3 Answers
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.

Have another answer? Share your knowledge.