You can always use du and df commands for this purpose but apart from that we have these 3 nice tools
di -- advanced df like disk information utility
`di' is a disk information utility, displaying everything (and more) that your `df' command does. It features the ability to display your disk usage in whatever format you desire/prefer/are used to. It is designed to be portable across many platforms.
Install di in ubuntu
sudo apt-get install di
di -f SMbuf1T
di -f SMbcvpT
di -f SMBuv2T
discus -- pretty version of df command
Discus aims to make df prettier, with features such as color, graphs, and smart formatting of numbers (automatically choosing the most suitable size from kilobytes, megabytes, gigabytes, or terabytes). If you don't want Discus deciding the best sizes, you can also choose your own increments, along with specifying the number of decimal places you'd like to see.
Install discuss in ubuntu
sudo apt-get install discus
durep -- create disk usage reports
durep is a perl script used for disk usage reports. It can generate text output with bar graphs to allow easy comparisons of disk usage between directories. It can also generate web pages which can be navigated through the directory structure. This allows easy visual monitoring of disk usage.
Install durep in ubuntu
sudo apt-get install durep
1. durep -td 2
This would print the directory tree starting from the current direc?tory to depth 2.
2. durep -f /var/spool/mail
This might be useful for keeping a check on the mail directory. The "-f" switch tells durep to just scan files and not descend into directories.
3. durep -x -cp "/(etc|usr/share)" -ep "/var" -sf /var/lib/durep/root.ds /
This more complicated version does the following. It scans the root filesystem only, collapses the contents of any paths begining /etc or /usr/share and skips the contents of the /var directory. It saves the output of this report into the file /var/lib/durep/root.ds. No text report is produced.
4. durep -lf /var/lib/durep/root.ds -hs 1m
This reads the save-file /var/lib/durep/root.ds and produces a text report from it, hiding any files below 1 megabyte.
5. durep -c /var/lib/durep
This collates any save-files in /var/lib/durep.
Pydf -- report colourised filesystem disk space usage
pydf is a python script that displays the amount of disk space avail?able on the mounted filesystems, using different colours for different types of filesystems. Output format is completely customizable.
Install pydf in ubuntu
sudo apt-get install pydf
If you want to know more details about each tool use man pages
Incoming search terms:
- ubuntu hdd info
- ubuntu hard disk info
- ubuntu disk info
- ubuntu hard disk usage
- usage of hard disk
- ubuntu hard drive info
- use of hard disk
- hdd tool ubuntu
- hard disk usage
- reporting filesystem usage in ubuntu