System Monitoring and Management – Part 1: Hard Disk Usage.

By | October 13, 2016

To check the hard disk space (free and used) of your PC’S hard disk. Open the system tray and type Disk Usage Analyzer (for Ubuntu) or any such name in different distro.

 

disc_search_tray

 

On the disk usage analyzer in Ubuntu you should be able to see a hard drive with an Ubuntu logo and then a graphic representation of the amount of free and total space of the drive.

 

disk usage ubuntu

 

Here my hard drive (code name ‘pandora‘) has a total of 94.6GB and I’ve used about 73.6GB. And below is my external hard drive of 149.6GB (143.2GB used already).

 

Using the command-line:

The df command displays the amount of disk space available on the file system. If  no file name is given, the space available on all currently mounted file systems is shown.

 

df_command

 

df

Or;

df -h

 

df_h_command

 

The first column of the output is the device (files system), column 2: is the total size of the device, column 3: is the used amount of memory, column 4: the available memory space, column 5: the percentage usage and column 6: the location where the device is mounted. The -h option is used to make the output display in the form of megabytes (MB) and gigabytes (GB). From the command above it shows that Linux is installed as the /dev/sda6 file system, so to see the memory allocation we can use the command;

df -h /dev/sda6

 

df_h_dev_command

 

 

 

Happy Linux’NG!

 

 

 

 

READ  Getting all the help you need.

 

 

Share!

ALEXANDER WAYNE OMOROKUNWA

ALEXANDER WAYNE OMOROKUNWA

Chief Editor/Founder at FossNaija
A Linux enthusiast with a focus on enriching the Nigeria Linux experience and keeping a keen eye on Ubuntu and other Foss related developments.
ALEXANDER WAYNE OMOROKUNWA

Latest posts by ALEXANDER WAYNE OMOROKUNWA (see all)

Tell us what you think

This site uses Akismet to reduce spam. Learn how your comment data is processed.