In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how Linux analyzes the use of Ubuntu disk, has a certain reference value, interested friends can refer to, I hope you have a lot of gains after reading this article, let Xiaobian take you to understand.
Dear Linux geeks, in this article, I will guide you through disk usage analysis in Ubuntu. In order to ensure the health and smoothness of the system, it is important to always care about the hard disk of the machine. It is very important to run some analysis properly. Of course, it is easy to run these analyses. To complete the analysis, we will use a wonderful graphical tool called Baobab.
Before we go any further, I can tell you that it's very simple to use, fully functional, and I'm sure it will meet your needs. Baobab is part of gnome-utils, but has been used as a standalone application since Gnome 3.4. By using this disk analysis tool, you can easily scan folders, file systems, not only local, remote directories can be easily analyzed.
With a single click, everything is done! Want to stop scanning? Simple, tap the Stop scanning button at the top of the baobab user interface and finish.
I like the simplicity of the tool and the ability to represent data graphically, like pie charts and trees. So, how do you install and use it on your own machines now?
As far as I know, ubuntu is already installed by default, if not, open a new terminal (CTRL+ALT+T) and run the following command to install it.
sudo apt-get install baobab
After installation, it will be classified into applications, system tools, disk analyzer, or run baobab directly in the terminal using the following command.
baobab
The following pictures show the interface when it is running on your machine.
To scan the Home folder, click Scan Home or Analyzer->Scan Home Folder option. After scanning, the tool will do a lot of analysis, wait patiently for the analysis results!
As you can see above, baobab scan results provide us with a lot of information, including the usage, size, and number of files owned by each folder in the Home directory. There's a pie chart on the right. If you prefer, select View as Treemap Chart at the top and you can easily change it to a tree view.
The following figure shows the interface for selecting a tree view instead of the default pie view.
To scan a file system, select Analyzer->Scan Filesystem , and if you are too lazy to click on them, there is an easy way to do so by pressing CTRL+F.
Choose the method you like, both methods will work and do the same scan. Shortcuts are time-saving and easy to use, but it's hard to remember them all at once if you don't use them every day.
How do I scan folders? Easy! Analyzer-> Scan A Folder -> Select the folder you want to scan, shortcut is CTRL+O. Isn't that easy? Yes! See the Scan a Folder button? Click on it and the scan starts!
The image below shows the results after scanning python-nmap-0.1.4. I got a list of useful information in a simple way.
Thank you for reading this article carefully. I hope that the article "How Linux analyzes Ubuntu disk usage" shared by Xiaobian will be helpful to everyone. At the same time, I hope that everyone will support it a lot and pay attention to the industry information channel. More relevant knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un