# Disk Usage Analyzer Manual

Disk Usage Analyzer is a graphical, menu-driven viewer that you can use to view and monitor your disk usage and folder structure.

2015-2020
MATE Documentation Project
2006
Fabio Marzocca
MATE 文档项目
GNOME 文档项目

对于本文档的复制、分发和／或修改必须遵循自由软件基金会 (Free Software Foundation) 发布的 GNU 自由文档许可证 (GFDL) 版本 1.1 或更高版本，该许可证没有固定的部分、没有封面和背页文本。您可以在此链接上或在随本手册一起分发的 COPYING-DOCS 文件中找到 GFDL 的副本。

本手册是在 GFDL 许可之下分发的 MATE 手册集合的一部分。如果想要单独分发此手册，可以在手册中添加该许可证的一份副本然后分发，如该许可证的第 6 部分所述。

各个公司使用的许多用于区别它们产品和服务的名称都声明为商标。在所有的 MATE 文档以及 MATE 文档项目的成员中，这些名称都是以全大写字母或首字母大写显示，从而表明它们是商标。

本文档和文档是根据 GNU 免费文档许可协议的条款提供的，并且还有进一步的阐述:

1. 文档按“原样”提供，不提供任何明示或暗示的保证，包括但不限于：文档或文档的修改版本没有适销性方面的缺陷、适合特定目的的适用性，以及没有侵权行为。您将自行承担本文档以及文档修改版本的质量、准确性以及性能方面的风险。如果任何文档或文档修改版本存在缺陷，您(而不是最初的编写者、作者或撰写人)将承担所有必需的服务、维修或更正的费用。此免责声明是本许可证的重要组成部分。如果不接受此免责声明，那么您就没有权利使用任何文档或文档的修改版本；并且

2. 无论在任何情况以及在任何法律理论下，本文档或文档修改版本的作者、最初的编写者、任何撰写人或任何分发者，或者任意这些方的任何提供者都不对任何人由于使用本文档或文档修改版本引起或带来的任何直接的、间接的、特殊的、偶然的或继发的损失承担任何民事(包括疏忽)、合同或其它方面的责任，这些损失包括但不限于信誉损失、工作停止、计算机失败或故障，或任何以及所有其它损失或由此引发的或与之相关的损失，即使这些方已被告知存在出现此类损失的可能性时也是如此。

MATE-Dokumentationsteam
Mate desktop
Fabio
Marzocca
GNOME Documentation Project

     thesaltydog@gmail.com

Fabio
Marzocca

    thesaltydog@gmail.com

Disk Usage Analyzer Manual 1.10
July 2015

Wolfgang Ulbrich

MATE Documentation Project

Disk Usage Analyzer Manual 1.0
April 2006

Emmanuele Bassi ebassi@gmail.com

GNOME Documentation Project

This manual describes version 1.10 of Disk Usage Analyzer.

## 反馈

To report a bug or make a suggestion regarding the Disk Usage Analyzer application or this manual, follow the directions in the MATE Feedback Page.

Christopher Meng
i@cicku.me
2012-2013
Christopher Meng
ravix
dr.neemous@gmail.com
2013
ravix
Dianjin Wang
1132321739qq@gmail.com
2012
Dianjin Wang
Cravix
dr.neemous@gmail.com
2013
Cravix
nyanyh
rebuilty@gmail.com
2013
nyanyh
liulitchi
xingzuo88@qq.com
2013
liulitchi
玉堂白鹤
yjwork@qq.com
2015
玉堂白鹤
Mingye Wang
arthur200126@gmail.com
2015-2016
Mingye Wang
白铭骢
jeffbai@aosc.xyz
2015-2016
白铭骢
刘子兴
liushuyu@aosc.xyz
2015-2016
刘子兴

## 介绍

Disk Usage Analyzer is a graphical, menu-driven application to analyze disk usage in any Mate environment. Disk Usage Analyzer can easily scan either the whole filesystem tree, or a specific user-requested directory branch (local or remote).

It also auto-detects in real-time any changes made to your home directory as far as any mounted/unmounted device. Disk Usage Analyzer also provides a full graphical treemap window for each selected folder.

## 入门

Disk Usage Analyzer can be started in three ways:

- from Mate menu Applications Accessories;

- from a terminal window;

- from Caja "Open with..." ;

If you want to start Disk Usage Analyzer from a terminal window, just type:

`mate-disk-usage-analyzer <full_path_to_a_directory>`, then press Return.

If launched from Mate menu, Disk Usage Analyzer starts and remains in a stand-by state, waiting for user action.

When you start Disk Usage Analyzer from the Mate Menu, the following window is displayed.

### Disk Usage Analyzer Window

Shows Disk Usage Analyzer main window. Contains menubar, display area, scrollbars, and statusbar.

The user can then:

- start a full filesystem scan;

- select a specific local directory branch to scan

- select a remote server and folder to scan

- set preferences

## 用法

### Full filesystem scan

To start a full filesystem scan select Analyzer Scan Filesystem from the menu, or press on the Scan Filesystem toolbar button.

When the scanning process ends up, you will get the full tree of your filesystem, like the one in the next Figure.

#### Disk Usage Analyzer Full filesystem scan

Shows Disk Usage Analyzer full filesystem scan window. Contains menubar, display area, scrollbars, and statusbar.

When you run a full filesystem scan, Disk Usage Analyzer window will start drawing the tree as soon as the thread starts scanning the filesystem. If any large partition is mounted on the filesystem, that will be scanned too.

Disk Usage Analyzer will display sizes in the directory tree as allocated space. This means that the displayed sizes refer to the actual disk usage and not to the apparent directory size. If you want to view the apparent file size, uncheck View Allocated Space .

Disk Usage Analyzer will not count the /proc dir, nor any file size that is not related to a "plain" file, so symlinks, character blocks, device blocks will not be part of the directory size.

Hard-links are managed in a different way: this first hardlink is counted as a normal file, while the subsequent links to the same inode device are not counted in the total, but highlighted in the right-hand column of the window.

### Single folder scan

To start a single folder scan select Analyzer Scan Folder... from the menu, or press on the Scan Folder toolbar button.

### Remote scan

If you need to scan a remote server-folder, just click on the toolbar icon Scan Remote Folder or select Analyzer Scan Remote Folder from the menu and you will get the following dialog box. Disk Usage Analyzer can connect to a server through ssh, ftp, smb, http and https.

#### Disk Usage Analyzer Remote folder scan

Shows Disk Usage Analyzer remote folder dialog window.

## 首选项

To change the Disk Usage Analyzer application preferences, choose Edit Preferences.

### Disk Usage Analyzer Preferences Window

Preferences window

### Select devices to be scanned

In the first part of the Preferences window, all detected mounted devices are listed. Click on the checkbox to include/exclude the partition into the filesystem scanning operations.

The device mounted on "/" cannot be excluded from the scan.

### Enable monitoring of home

If this option is checked, Disk Usage Analyzer will constantly monitor any external changes to home directory and warn the user if a file is added/removed.

## Treemaps

Treemap concepts have been developed by Ben Shneiderman in the '90s. Read his vision on treemaps.

### Disk Usage Analyzer Treemap Window

Treemap's theory. Shows 2 treemap diagrams

Figure shows an example of treemap's theory. Each node (as shown in the tree diagram) has a name (a letter) and an associated size (a number). The size of leaves may represent for instance the size of individual files, the size of non-leaf nodes is the sum of the sizes of its children.

The treemap is constructed via recursive subdivision of the initial rectangle. The size of each sub-rectangle corresponds to the size of the node. The direction of subdivision alternates per level: first horizontally, next vertically, etcetera. As a result, the initial rectangle is partitioned into smaller rectangles, such that the size of each rectangle reflects the size of the leaf. The structure of the tree is also reflected in the treemap, as a result of its construction. Color and annotation can be used to give extra information about the leaves.

Treemaps are very effective when size is the most important feature to be displayed.

## Ringschart

Ringschart is a graphical representation of the disk usage by a concrete folder. When launching the application, it is notified the usage of the file system as it can be seen in the next figure:

### Disk Usage Analyzer showing a ringschart with the file system usage

After launching the application, it is showed the file system usage. Graphical representation on the right.

When you start scanning a folder, the tree of subfolders is created and listed on the left side. Each row contains information for the name, how much space it is taking up (percentage and size in KB, MB or GB) and the number of items (adding files and directories). When this process ends up, the Ringschart is drawn on the right side. If you stop it before it has been completed, only a partial representation is done based on the directories whose usage was computed.

### Disk Usage Analyzer showing a ringschart with the usage of a folder

After scanning a folder.

The Ringschart is composed of a set of nested rings around a central circle. This circle symbolizes the root folder of the partial tree (that is, the folder that the user has selected for scanning). Each ring represents a level in the partial tree, so i.e. the subfolders of the root folder will be represented in the first ring, and deeper levels in the tree correspond to outer rings in the chart. Each subfolder is represented by a sector of the ring, its angle being proportional to the size of the folder's contents, and painted with a different color to ease visualization. Up to five levels can be drawn; in case that a folder in that last fifth level contains even more subfolders, this situation will be pointed by the presence of a black curve close to the edge of that folder's ring sector. When a folder with no further subfolders is selected to be the root of the partial tree, only the inner circle will be drawn. When the mouse pointer hovers one of the folders in the graphic, it will be highlighted and a tooltip will appear with information about its name and size. If there are any subfolders, small gray tooltips will appear, indicating their names. It's possible that not all of the subfolders' names are displayed, to avoid overlappings.

You can go up and down the rows in the list (optionally expanding those with subfolders), the graphic representation will change using the selected folder as the root of the partial tree to be represented. The folders can also be navigated from the ringschart itself. If you click with the left button of your mouse inside a folder, you'll move deeper by setting the root of the graphic to that folder. If you press the middle button (no matter the place as long as you click inside the ringschart frame) you'll get the opposite behavior, going back one step in the hierarchy.

The percentage of its parent's radius that is used by a given folder is directly proportional to the relation between its own size and its parent's. It's easy to understand that the size of a folder is equal or smaller than its parent's. Although only directories are shown in this graphical representation, files are taken into account to calculate the amount of space occupied by folders.