Linux basics: analyze Ubuntu disk usage

Source: Internet
Author: User
Dear Linux geeks, in this article, I will guide you on how to analyze disk usage in Ubuntu. To ensure the health and smoothness of the system, you are always concerned about the machine's hard disk. it is very important to properly run some analysis. of course, running these analyses is the label: Ubuntu

 

Dear Linux geeks, in this article, I will guide you on how to analyze disk usage in Ubuntu. To ensure the health and smoothness of the system, you are always concerned about the machine's hard disk. it is very important to properly run some analyses. of course, it is easy to run these analyses. To complete the analysis, we will use a great graphic tool named Baobab.

Before proceeding to the next step, I can tell you that it is easy to use and has complete functions. I am sure it can meet your needs. Baobab is part of gnome-utils, but has been used as an independent application since Gnome3.4. By using this disk analysis tool, you can easily scan folders and file systems, not just local, but also remote directories for easy analysis.

You can do everything with just one click! Want to stop scanning? Simple. click the Stop scanning button at the top of the baobab user interface to complete the operation.

I like the simplicity of this tool and can graphically represent data, such as pie charts and tree trees. So how do you install and use it on your own machine?

As far as I know, ubuntu has been installed by default. if not, open a new terminal (CTRL + ALT + T) and run the following command to install it.

 
  1. sudo apt-get install baobab 

After the installation is complete, it will be classified into applications, system tools, disk Analyzer, or directly run the following command on the terminal to run baobab.

 
  1. baobab 

The following figure shows the interface when it runs on your machine.

To Scan the Home directory, Click Scan Home or Analyzer-> Scan Home Folder. After scanning, the tool will perform a lot of analysis. please wait for the analysis result!

As you can see, the baobab scan results provide us with a lot of information, including the usage, size, and number of files of each folder in the Home directory. There is a pie on the right side. If you like it, select the View as Treemap Chart above, and you can easily change it to a tree Chart.

Select a tree chart instead of the default pie chart.

To Scan the file system, select Analyzer-> Scan Filesystem. if you are too reluctant to Click these, you can use the shortcut key CTRL + F.

Select the method you like. both methods will take effect and perform the same scan. Shortcuts are really easy to use and save time, but if you don't use this tool every day, it's hard to remember all the shortcuts at the same time.

How to scan folders? Simple! Analyzer-> Scan A Folder-> select the Folder you want to Scan. the shortcut key is CTRL + O. Is it very simple? Yes! Have you seen the Scan a Folder button? Click it to scan!

Displays the results after scanning the python-nmap-0.1.4. I used a simple method to get a list of useful information.

You have learned how to scan the Home directory, file system, and specified folder. I haven't told you an important feature yet, but I'm sure you can learn it by yourself. Is there a remote folder to be scanned? Give full play to your mental power!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.