How To Monitor & View Disk Space in Linux (Agedu)
Agedu is a Unix utility developed to track disk space in our storage units entirely and comprehensively.
In Linux, we have a command like this which scans the entire disk and displays information about which directories contain the most significant amount of data which results in a much more centralized management task.
Step 1: How to Install Agedu on Linux
To install Agedu in Debian and Ubuntu, execute the following:
sudo apt-get install agedu
In CentOS and RedHat operating systems, run the following, being necessary to install the EPEL package:
yum install epel-release yum install agedu
For Fedora, use the following:
sudo dnf install agedu
And for Arch Linux:
sudo yaourt -S agedu
For other Linux distros, use the following lines in their order:
wget https://www.chiark.greenend.org.uk/~sgtatham/agedu/agedu-2018 0329.af641e6.tar.gz tar -xvf agedu-20180329.af641e6.tar.gz cd agedu-20180329.af641e6 ./configure make sudo make install
Step 2: How to Use Agedu
To perform a complete scan of the /home/user directory and also of its subdirectories and, execute the following:
agedu -s /home/user/
Now, let's run the following command to consult the newly created index file:
There is shown the URL through you can access to see a graphical view of the data.
Go to a web browser and execute the following line:
To create and set a custom port number for Agedu, run the following command:
agedu -w --address 127.0.0.1:8083
If we want to add another level of protection for Agedu, use the next line:
gedu -w --address 127.0.0.1:8083 --auth basic
If you wants this information in the terminal, execute the following:
agedu -t /home/user
Agedu is a practical utility to bring a centralized control over the hard disk space.