Debian Admin

Debian/Ubuntu Linux System Administration Tutorials,Howtos,Tips

  • RSS Subscribe

    subscribe to the Debian Admin RSS feed
  • Sponsors



  • Categories

  • Sponsors

  • Support DebianAdmin

    Amount $:
    Website(Optional):


  • Meta

  • Archives



Check Disk Space Usage on Ubuntu

Posted by Admin on January 4th, 2007

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

Computer disks have a finite capacity, and when they fill up it can lead to serious problems, including lost data and email. Actually it’s slightly more complicated than that; disks are divided into partitions, and the problems ensue when an important partition such as one containing user files fills up.

Here is the different types you can check your disk space in your ubuntu system

Using Disk Usage Analyser

The utility will give you both a text version of the space and a graphical representation of the data that is on your hard drive.

If you want to open this go to Applications—>Accessories—>Disk Usage Analyser

Once it opens you should see the following screen

Using df command

The df command displays information about total space and available space on a file system.

Here is the example using df command


If you want to know more available options check df man page

Using Discus

Discus is a GPL text-mode disk space usage program.Discus aims to make df prettier. Features include color, bar graphs, and smart formatting of numbers (automatically choosing the most suitable size from kilobytes, megabytes, gigabytes, or terabytes). Or choose your own size, along with specifying the number of decimal places.

Install Discuss in Ubuntu

sudo apt-get install discus

and press enter this will complete installation after this if you want to use discus check the following example

Discus Example

A screenshot with the default settings

If you want more available options check man page

  • Share/Bookmark

4 Responses to “Check Disk Space Usage on Ubuntu”

  1. Barboza Says:

    I am totally new to GNU/Linux. I installed Ubuntu 9.04 on a Pentium 4, 256MB/RAM currently running Windows-XP. But I found that when I installed Ubuntu, for some reason it did not ask me for System-Disk-Space. Now that I want to install some Ubuntu-Updates, it asks me to free disk space from “/”, but I do not know how to do this. Can you pleas help? Thanks in advance.

  2. Ted Muralt Says:

    Quote previous user comment: “I am totally new to GNU/Linux. I installed Ubuntu 9.04 on a Pentium 4, 256MB/RAM currently running Windows-XP. But I found that when I installed Ubuntu, for some reason it did not ask me for System-Disk-Space. Now that I want to install some Ubuntu-Updates, it asks me to free disk space from “/”, but I do not know how to do this. Can you pleas help? Thanks in advance.”

    9.04 has been a real problem starting with me upgrading from 8.10 to 9.04 with and ATI video card. Lost all 8.10 files (system bombed).
    Now, the same thing ( as above) happened to me on 2 machines, one xp desktop and one vista laptop. This disk space problem is an other unforgivable oversite. I am hoping that I can uninstall 9.04 on both machines and either go back to 8.10, or just give up on ubuntu.

  3. ravi Says:

    Hardware :
    motherboard ASUS p5Q-E with 5 Hard disk
    HDD0 – 80GB – installed XP SP3
    HDD1 – 160GB – installed Vista SP2
    HDD2 – 160GB windows 7 RC
    HDD3 – want to install UBUNTU 9.04
    HDD4 – want to install Mac OS.

    i am totally new for linux and MAC, i have no idea about ubuntu and mac os.

    once i tried to install ubuntu 9.04 was successed after login
    when i try to update “it asks me to free disk space from “/” ” after that i format hdd for the partition to make some space, after that i tried to reboot but never comes up even XP, vista, windows7 nothing worked.

    now i installed Xp, Vista and windows7 from scratch.

    for install ubuntu and mac os, please help me.

    Thank you very much in advance.

  4. Guru Says:

    Guys, it looks like you are installing your Ubuntu on very small partitions. You should probably be careful when you do your installation configuring the disk space that will be available for Ubuntu. I think Ubuntu definitely deserves a little effort on your side — it will deliver rewards that you can’t imagine yet.

    Take a look at this document:
    https://help.ubuntu.com/community/HowtoPartition

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>